|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract HTTP Server Configuration. This interface defines the methods that the HttpServer calls to configure itself. It decouples the server from the configuration technology used. In most uses either a very simple configuration will be provided or the implementation of this interface will map the calls to a configuration file.
Field Summary | |
static java.lang.String |
HTTP1_0_KeepAlive
Property name for controlling HTTP/1.0 Keep alive |
static java.lang.String |
MaxListenerThreadIdleMs
Property name for the maximum listener idle time |
static java.lang.String |
MaxListenerThreads
Property name for the maximum listener threads |
static java.lang.String |
MinListenerThreads
Property name for the minimum listener threads |
static java.lang.String |
ResourceBase
Property name for the getResource url base (eg. |
static java.lang.String |
SessionMaxInactiveInterval
Property name for the default session max idle time |
static java.lang.String |
SetUserID
Property name for User ID of the server (UNIX ONLY) |
Method Summary | |
InetAddrPort[] |
addresses()
The IP addresses and ports the HTTP server listens on |
PathMap |
exceptionHandlersMap()
The ExceptionHandlers. |
java.lang.Object |
getAttribute(java.lang.String name)
Deprecated. Use getProperty |
java.lang.String |
getMimeType(java.lang.String file)
Translate Mime type |
java.util.Properties |
getProperties()
Returns the properties. |
java.lang.String |
getProperty(java.lang.String name)
Returns an attribute of the server given the specified key name. |
PathMap |
httpHandlersMap()
The HttpHandlers. |
java.lang.Class[] |
listenerClasses()
The HttpListener classes. |
void |
log(java.lang.String message)
Writes a message to the servlet log file. |
Field Detail |
public static final java.lang.String SessionMaxInactiveInterval
public static final java.lang.String MinListenerThreads
public static final java.lang.String MaxListenerThreads
public static final java.lang.String MaxListenerThreadIdleMs
public static final java.lang.String ResourceBase
public static final java.lang.String SetUserID
public static final java.lang.String HTTP1_0_KeepAlive
Method Detail |
public InetAddrPort[] addresses()
public java.lang.Class[] listenerClasses()
public PathMap httpHandlersMap()
public PathMap exceptionHandlersMap()
public java.lang.String getMimeType(java.lang.String file)
public java.lang.Object getAttribute(java.lang.String name)
public java.lang.String getProperty(java.lang.String name)
public java.util.Properties getProperties()
public void log(java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |