Class HttpChannelOverFCGI
java.lang.Object
org.eclipse.jetty.client.HttpChannel
org.eclipse.jetty.fcgi.client.http.HttpChannelOverFCGI
- All Implemented Interfaces:
CyclicTimeouts.Expirable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HttpConnectionOverFCGIprivate final Flusherprivate final HttpChannelOverFCGI.FCGIIdleTimeoutprivate final HttpReceiverOverFCGIprivate intprivate final HttpSenderOverFCGIprivate HttpVersionFields inherited from class HttpChannel
LOG -
Constructor Summary
ConstructorsConstructorDescriptionHttpChannelOverFCGI(HttpConnectionOverFCGI connection, Flusher flusher, long idleTimeout) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancontent(ByteBuffer buffer, Callback callback) voidexchangeTerminated(HttpExchange exchange, Result result) protected voidflush(Generator.Result... results) protected HttpReceiverprotected HttpSenderprotected intbooleanisFailed()(package private) voidreceive()voidrelease()protected booleanresponseBegin(int code, String reason) protected booleanresponseFailure(Throwable failure) protected booleanresponseHeader(HttpField field) protected booleanprotected booleanvoidsend(HttpExchange exchange) (package private) voidsetRequest(int request) Methods inherited from class HttpChannel
abort, abortResponse, associate, destroy, disassociate, exchangeTerminating, getExpireNanoTime, getHttpDestination, getHttpExchange, proceed, send, toString
-
Field Details
-
connection
-
flusher
-
sender
-
receiver
-
idle
-
request
private int request -
version
-
-
Constructor Details
-
HttpChannelOverFCGI
-
-
Method Details
-
getRequest
protected int getRequest() -
setRequest
void setRequest(int request) -
getHttpSender
- Specified by:
getHttpSenderin classHttpChannel
-
getHttpReceiver
- Specified by:
getHttpReceiverin classHttpChannel
-
isFailed
public boolean isFailed() -
receive
void receive() -
send
- Specified by:
sendin classHttpChannel
-
release
public void release()- Specified by:
releasein classHttpChannel
-
responseBegin
-
responseHeader
-
responseHeaders
protected boolean responseHeaders() -
content
-
responseSuccess
protected boolean responseSuccess() -
responseFailure
-
exchangeTerminated
- Overrides:
exchangeTerminatedin classHttpChannel
-
flush
-