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 HttpConnectionOverFCGI
private final Flusher
private final HttpChannelOverFCGI.FCGIIdleTimeout
private final HttpReceiverOverFCGI
private int
private final HttpSenderOverFCGI
private HttpVersion
Fields inherited from class org.eclipse.jetty.client.HttpChannel
LOG
-
Constructor Summary
ConstructorsConstructorDescriptionHttpChannelOverFCGI
(HttpConnectionOverFCGI connection, Flusher flusher, long idleTimeout) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
content
(ByteBuffer buffer, Callback callback) void
exchangeTerminated
(HttpExchange exchange, Result result) protected void
flush
(Generator.Result... results) protected HttpReceiver
protected HttpSender
protected int
boolean
isFailed()
(package private) void
receive()
void
release()
protected boolean
responseBegin
(int code, String reason) protected boolean
responseFailure
(Throwable failure) protected boolean
responseHeader
(HttpField field) protected boolean
protected boolean
void
send
(HttpExchange exchange) (package private) void
setRequest
(int request) Methods inherited from class org.eclipse.jetty.client.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:
getHttpSender
in classHttpChannel
-
getHttpReceiver
- Specified by:
getHttpReceiver
in classHttpChannel
-
isFailed
public boolean isFailed() -
receive
void receive() -
send
- Specified by:
send
in classHttpChannel
-
release
public void release()- Specified by:
release
in classHttpChannel
-
responseBegin
-
responseHeader
-
responseHeaders
protected boolean responseHeaders() -
content
-
responseSuccess
protected boolean responseSuccess() -
responseFailure
-
exchangeTerminated
- Overrides:
exchangeTerminated
in classHttpChannel
-
flush
-