|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mortbay.HTTP.Configure.BaseConfiguration
Base Http Configuration
This implementation of HttpConfiguration provides a minimal implementation of all methods and is a good base for real configuration classes
HttpConfiguration
Field Summary | |
protected InetAddrPort[] |
addresses
|
protected java.util.Hashtable |
attributes
Deprecated. use properties |
protected PathMap |
exceptionHandlersMap
|
protected PathMap |
httpHandlersMap
|
protected java.lang.Class[] |
listenerClasses
|
protected java.util.Hashtable |
mimeMap
|
protected java.util.Properties |
properties
|
Fields inherited from interface com.mortbay.HTTP.HttpConfiguration |
HTTP1_0_KeepAlive,
MaxListenerThreadIdleMs,
MaxListenerThreads,
MinListenerThreads,
ResourceBase,
SessionMaxInactiveInterval,
SetUserID |
Constructor Summary | |
BaseConfiguration()
|
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 |
protected java.lang.String |
getMimeByExtension(java.lang.String ext)
Lookup mime type by filename extension. |
java.lang.String |
getMimeType(java.lang.String file)
Translate Mime type |
java.util.Properties |
getProperties()
Returns properties object. |
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.util.Hashtable mimeMap
protected InetAddrPort[] addresses
protected java.lang.Class[] listenerClasses
protected PathMap httpHandlersMap
protected PathMap exceptionHandlersMap
protected java.util.Properties properties
protected java.util.Hashtable attributes
Constructor Detail |
public BaseConfiguration()
Method Detail |
public java.lang.String toString()
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)
protected java.lang.String getMimeByExtension(java.lang.String ext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |