public abstract class AbstractHttpConnection
extends org.eclipse.jetty.io.AbstractConnection
implements org.eclipse.jetty.util.component.Dumpable
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jetty.io.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 |
| 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 org.eclipse.jetty.io.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() |
protected HttpDestination _destination
protected HttpGenerator _generator
protected HttpParser _parser
protected boolean _http11
protected int _status
protected org.eclipse.jetty.io.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 org.eclipse.jetty.io.Connection handle()
throws IOException
handle in interface org.eclipse.jetty.io.ConnectionIOExceptionpublic boolean isIdle()
isIdle in interface org.eclipse.jetty.io.Connectionpublic boolean isSuspended()
isSuspended in interface org.eclipse.jetty.io.Connectionpublic void onClose()
onClose in interface org.eclipse.jetty.io.Connectionprotected void commitRequest()
throws IOException
IOExceptionprotected void reset()
throws IOException
IOExceptionpublic String toString()
toString in class org.eclipse.jetty.io.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 org.eclipse.jetty.util.component.DumpableDumpable.dump()public void dump(Appendable out, String indent) throws IOException
dump in interface org.eclipse.jetty.util.component.DumpableIOExceptionDumpable.dump(java.lang.Appendable, java.lang.String)Copyright © 1995-2016 Mort Bay Consulting. All Rights Reserved.