Class HttpChannelOverFCGI
- java.lang.Object
-
- org.eclipse.jetty.client.HttpChannel
-
- org.eclipse.jetty.fcgi.client.http.HttpChannelOverFCGI
-
- All Implemented Interfaces:
CyclicTimeouts.Expirable
public class HttpChannelOverFCGI extends HttpChannel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classHttpChannelOverFCGI.FCGIIdleTimeout
-
Field Summary
Fields Modifier and Type Field Description private HttpConnectionOverFCGIconnectionprivate Flusherflusherprivate HttpChannelOverFCGI.FCGIIdleTimeoutidleprivate HttpReceiverOverFCGIreceiverprivate intrequestprivate HttpSenderOverFCGIsenderprivate HttpVersionversion-
Fields inherited from class org.eclipse.jetty.client.HttpChannel
LOG
-
-
Constructor Summary
Constructors Constructor Description HttpChannelOverFCGI(HttpConnectionOverFCGI connection, Flusher flusher, long idleTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancontent(java.nio.ByteBuffer buffer, Callback callback)voidexchangeTerminated(HttpExchange exchange, Result result)protected voidflush(Generator.Result... results)protected HttpReceivergetHttpReceiver()protected HttpSendergetHttpSender()protected intgetRequest()booleanisFailed()(package private) voidreceive()voidrelease()protected booleanresponseBegin(int code, java.lang.String reason)protected booleanresponseFailure(java.lang.Throwable failure)protected booleanresponseHeader(HttpField field)protected booleanresponseHeaders()protected booleanresponseSuccess()voidsend(HttpExchange exchange)(package private) voidsetRequest(int request)-
Methods inherited from class org.eclipse.jetty.client.HttpChannel
abort, abortResponse, associate, destroy, disassociate, exchangeTerminating, getExpireNanoTime, getHttpDestination, getHttpExchange, proceed, send, toString
-
-
-
-
Field Detail
-
connection
private final HttpConnectionOverFCGI connection
-
flusher
private final Flusher flusher
-
sender
private final HttpSenderOverFCGI sender
-
receiver
private final HttpReceiverOverFCGI receiver
-
idle
private final HttpChannelOverFCGI.FCGIIdleTimeout idle
-
request
private int request
-
version
private HttpVersion version
-
-
Constructor Detail
-
HttpChannelOverFCGI
public HttpChannelOverFCGI(HttpConnectionOverFCGI connection, Flusher flusher, long idleTimeout)
-
-
Method Detail
-
getRequest
protected int getRequest()
-
setRequest
void setRequest(int request)
-
getHttpSender
protected HttpSender getHttpSender()
- Specified by:
getHttpSenderin classHttpChannel
-
getHttpReceiver
protected HttpReceiver getHttpReceiver()
- Specified by:
getHttpReceiverin classHttpChannel
-
isFailed
public boolean isFailed()
-
receive
void receive()
-
send
public void send(HttpExchange exchange)
- Specified by:
sendin classHttpChannel
-
release
public void release()
- Specified by:
releasein classHttpChannel
-
responseBegin
protected boolean responseBegin(int code, java.lang.String reason)
-
responseHeader
protected boolean responseHeader(HttpField field)
-
responseHeaders
protected boolean responseHeaders()
-
content
protected boolean content(java.nio.ByteBuffer buffer, Callback callback)
-
responseSuccess
protected boolean responseSuccess()
-
responseFailure
protected boolean responseFailure(java.lang.Throwable failure)
-
exchangeTerminated
public void exchangeTerminated(HttpExchange exchange, Result result)
- Overrides:
exchangeTerminatedin classHttpChannel
-
flush
protected void flush(Generator.Result... results)
-
-