|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openqa.jetty.http.HttpConnection
org.openqa.jetty.http.ajp.AJP13Connection
public class AJP13Connection
| Field Summary |
|---|
| Fields inherited from class org.openqa.jetty.http.HttpConnection |
|---|
_dotVersion, _keepAlive, _persistent, _request, _response |
| Fields inherited from interface org.openqa.jetty.util.OutputObserver |
|---|
__CLOSED, __CLOSING, __COMMITING, __FIRST_WRITE, __RESET_BUFFER |
| Constructor Summary | |
|---|---|
AJP13Connection(AJP13Listener listener,
InputStream in,
OutputStream out,
Socket socket,
int bufferSize)
|
|
| Method Summary | |
|---|---|
protected void |
commit()
|
void |
destroy()
Destroy the connection. |
protected void |
firstWrite()
Setup the reponse output stream. |
String |
getDefaultScheme()
Get the listeners Default scheme. |
String |
getRemoteAddr()
Get the Remote address. |
String |
getRemoteHost()
Get the Remote address. |
InetAddress |
getRemoteInetAddress()
Get the Remote address. |
String |
getServerName()
Get the listeners HttpServer . |
int |
getServerPort()
Get the listeners Port . |
boolean |
handleNext()
Handle next request off the connection. |
boolean |
isSSL()
|
protected void |
setupOutputStream()
|
| Methods inherited from class org.openqa.jetty.http.HttpConnection |
|---|
associateThread, close, disassociateThread, forceClose, getConnection, getHttpServer, getHttpTunnel, getInputStream, getListener, getObject, getOutputStream, getRemotePort, getRequest, getResponse, getServerAddr, handle, isThrottled, outputNotify, readRequest, recycle, service, setHttpTunnel, setObject, setThrottled, statsRequestEnd, statsRequestStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AJP13Connection(AJP13Listener listener,
InputStream in,
OutputStream out,
Socket socket,
int bufferSize)
throws IOException
IOException| Method Detail |
|---|
public InetAddress getRemoteInetAddress()
getRemoteInetAddress in class HttpConnectionpublic void destroy()
HttpConnection
destroy in class HttpConnectionpublic String getRemoteAddr()
getRemoteAddr in class HttpConnectionpublic String getRemoteHost()
getRemoteHost in class HttpConnectionpublic String getServerName()
getServerName in class HttpConnectionpublic int getServerPort()
getServerPort in class HttpConnectionpublic 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
protected void firstWrite()
throws IOException
HttpConnection
firstWrite in class HttpConnectionIOException
protected void commit()
throws IOException
commit in class HttpConnectionIOException
protected void setupOutputStream()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||