|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mortbay.http.HttpConnection
org.mortbay.http.ajp.AJP13Connection
| Field Summary |
| Fields inherited from interface org.mortbay.util.OutputObserver |
__CLOSED, __CLOSING, __COMMITING, __FIRST_WRITE, __RESET_BUFFER |
| Constructor Summary | |
AJP13Connection(AJP13Listener listener,
java.io.InputStream in,
java.io.OutputStream out,
java.net.Socket socket,
int bufferSize)
|
|
| Method Summary | |
void |
destroy()
|
java.lang.String |
getDefaultScheme()
Get the listeners Default scheme. |
java.lang.String |
getRemoteAddr()
Get the Remote address. |
java.lang.String |
getRemoteHost()
Get the Remote address. |
java.net.InetAddress |
getRemoteInetAddress()
Get the Remote address. |
java.lang.String |
getServerName()
Get the listeners HttpServer . |
int |
getServerPort()
Get the listeners Port . |
boolean |
handleNext()
Handle next request off the connection. |
boolean |
isSSL()
|
| Methods inherited from class org.mortbay.http.HttpConnection |
close, forceClose, getConnection, getHttpServer, getHttpTunnel, getInputStream, getListener, getObject, getOutputStream, getRemotePort, getRequest, getResponse, getServerAddr, handle, isThrottled, outputNotify, setHttpTunnel, setObject, setThrottled |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AJP13Connection(AJP13Listener listener,
java.io.InputStream in,
java.io.OutputStream out,
java.net.Socket socket,
int bufferSize)
throws java.io.IOException
| Method Detail |
public java.net.InetAddress getRemoteInetAddress()
getRemoteInetAddress in class HttpConnectionpublic void destroy()
public java.lang.String getRemoteAddr()
getRemoteAddr in class HttpConnectionpublic java.lang.String getRemoteHost()
getRemoteHost in class HttpConnectionpublic java.lang.String getServerName()
getServerName in class HttpConnectionpublic int getServerPort()
getServerPort in class HttpConnectionpublic java.lang.String getDefaultScheme()
getDefaultScheme in class HttpConnectionpublic boolean isSSL()
public boolean handleNext()
HttpConnectionIf a HttpTunnel has been set on this connection, it's handle method is called and when that completes, false is return from this method.
The Connection is set as a ThreadLocal of the calling thread and is available via the getHttpConnection() method.
handleNext in class HttpConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||