public abstract class AbstractHttpConnection extends AbstractConnection implements Dumpable
| Modifier and Type | Field and Description |
|---|---|
protected Buffer |
_connectionHeader |
protected HttpDestination |
_destination |
protected HttpExchange |
_exchange |
protected HttpGenerator |
_generator |
protected boolean |
_http11 |
protected HttpParser |
_parser |
protected HttpExchange |
_pipeline |
protected boolean |
_reserved |
protected int |
_status |
_endp| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelIdleTimeout() |
void |
close() |
protected void |
commitRequest() |
String |
dump() |
void |
dump(Appendable out,
String indent) |
protected void |
exchangeExpired(HttpExchange exchange) |
HttpDestination |
getDestination() |
abstract Connection |
handle() |
boolean |
isIdle() |
boolean |
isReserved() |
boolean |
isSuspended() |
void |
onClose() |
protected void |
reset() |
boolean |
send(HttpExchange ex) |
void |
setDestination(HttpDestination destination) |
void |
setIdleTimeout() |
void |
setReserved(boolean reserved) |
String |
toDetailString() |
String |
toString() |
getEndPoint, getTimeStamp, onIdleExpiredprotected HttpDestination _destination
protected HttpGenerator _generator
protected HttpParser _parser
protected boolean _http11
protected int _status
protected Buffer _connectionHeader
protected boolean _reserved
protected volatile HttpExchange _exchange
protected HttpExchange _pipeline
public void setReserved(boolean reserved)
public boolean isReserved()
public HttpDestination getDestination()
public void setDestination(HttpDestination destination)
public boolean send(HttpExchange ex) throws IOException
IOExceptionpublic abstract Connection handle() throws IOException
handle in interface ConnectionIOExceptionpublic boolean isIdle()
isIdle in interface Connectionpublic boolean isSuspended()
isSuspended in interface Connectionpublic void onClose()
onClose in interface Connectionprotected void commitRequest()
throws IOException
IOExceptionprotected void reset()
throws IOException
IOExceptionpublic String toString()
toString in class AbstractConnectionpublic String toDetailString()
public void close()
throws IOException
IOExceptionpublic void setIdleTimeout()
public boolean cancelIdleTimeout()
protected void exchangeExpired(HttpExchange exchange)
public String dump()
dump in interface DumpableDumpable.dump()public void dump(Appendable out, String indent) throws IOException
dump in interface DumpableIOExceptionDumpable.dump(java.lang.Appendable, java.lang.String)Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.