|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.util.ThreadPool
org.mortbay.util.ThreadedServer
org.mortbay.http.SocketListener
org.mortbay.http.HostSocketListener
Forced Host Listener this simple listener extention forces the host header to be set to a specific value. It is useful when deployed behind old apache mod_proxy implementations that lie about the real host used by the client.
Nested Class Summary |
Nested classes inherited from class org.mortbay.util.ThreadPool |
ThreadPool.PoolThread |
Field Summary |
Fields inherited from class org.mortbay.util.ThreadPool |
__DAEMON, __PRIORITY |
Fields inherited from interface org.mortbay.http.HttpListener |
ATTRIBUTE |
Constructor Summary | |
HostSocketListener()
|
|
HostSocketListener(InetAddrPort address)
|
Method Summary | |
java.lang.String |
getForcedHost()
|
void |
setForcedHost(java.lang.String host)
|
Methods inherited from class org.mortbay.util.ThreadedServer |
getAcceptorThreads, getAcceptQueueSize, getHost, getInetAddress, getInetAddrPort, getLingerTimeSecs, getMaxReadTimeMs, getPort, getServerSocket, getTcpNoDelay, handle, open, setAcceptorThreads, setAcceptQueueSize, setHost, setInetAddress, setInetAddrPort, setLingerTimeSecs, setMaxReadTimeMs, setPort, setTcpNoDelay, toString |
Methods inherited from class org.mortbay.util.ThreadPool |
getIdleThreads, getMaxIdleTimeMs, getMaxThreads, getMinThreads, getName, getPoolName, getThreads, getThreadsPriority, isDaemon, isStarted, join, run, setDaemon, setMaxIdleTimeMs, setMaxStopTimeMs, setMaxThreads, setMinThreads, setName, setPoolName, setThreadsPriority, shrink |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mortbay.http.HttpListener |
getHost, getPort, setHost, setPort |
Methods inherited from interface org.mortbay.util.LifeCycle |
isStarted |
Constructor Detail |
public HostSocketListener()
public HostSocketListener(InetAddrPort address)
Method Detail |
public java.lang.String getForcedHost()
public void setForcedHost(java.lang.String host)
host
- The host to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |