org.autoplot.servlet.ServletInfo

servlet for reporting version information. This should be updated manually before adding and releasing new features.

ServletInfo( )


version


getAgeMillis

getAgeMillis( ) → long

Returns:

long

[search for examples] [view on GitHub] [view on old javadoc]


getCacheDirectory

getCacheDirectory( ) → File

return the location of the cache which this server will use, a directory in /tmp/apsrv.

Returns:

a java.io.File

[search for examples] [view on GitHub] [view on old javadoc]


getDurationForHumans

getDurationForHumans( long dt ) → String

return the duration in a easily-human-consumable form.

Parameters

dt - the duration in milliseconds.

Returns:

a duration like "2.6 hours"

[search for examples] [view on GitHub] [view on old javadoc]


getServletInfo

getServletInfo( ) → String

Returns a short description of the servlet.

Returns:

a String containing servlet description

[search for examples] [view on GitHub] [view on old javadoc]


isCaching

isCaching( ) → boolean

return true if we can cache requests.

Returns:

a boolean

[search for examples] [view on GitHub] [view on old javadoc]