Class ApacheConnector.HttpClientConnection
java.lang.Object
org.apache.http.impl.BHttpConnectionBase
org.apache.http.impl.DefaultBHttpClientConnection
org.apache.http.impl.conn.DefaultManagedHttpClientConnection
org.glassfish.jersey.apache.connector.ApacheConnector.HttpClientConnection
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.http.conn.ManagedHttpClientConnection
,org.apache.http.HttpClientConnection
,org.apache.http.HttpConnection
,org.apache.http.HttpInetConnection
,org.apache.http.protocol.HttpContext
- Enclosing class:
- ApacheConnector
private static class ApacheConnector.HttpClientConnection
extends org.apache.http.impl.conn.DefaultManagedHttpClientConnection
-
Field Summary
FieldsFields inherited from interface org.apache.http.protocol.HttpContext
RESERVED_PREFIX
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HttpClientConnection
(String id, int buffersize, int chunkSize) -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStream
createOutputStream
(long len, org.apache.http.io.SessionOutputBuffer outbuffer) Methods inherited from class org.apache.http.impl.conn.DefaultManagedHttpClientConnection
bind, getAttribute, getId, getSocket, getSSLSession, removeAttribute, setAttribute, shutdown
Methods inherited from class org.apache.http.impl.DefaultBHttpClientConnection
flush, isResponseAvailable, onRequestSubmitted, onResponseReceived, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
Methods inherited from class org.apache.http.impl.BHttpConnectionBase
awaitInput, close, createInputStream, doFlush, ensureOpen, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSessionInputBuffer, getSessionOutputBuffer, getSocketInputStream, getSocketOutputStream, getSocketTimeout, incrementRequestCount, incrementResponseCount, isOpen, isStale, prepareInput, prepareOutput, setSocketTimeout, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.http.HttpClientConnection
flush, isResponseAvailable, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader
Methods inherited from interface org.apache.http.HttpConnection
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout
Methods inherited from interface org.apache.http.HttpInetConnection
getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
-
Field Details
-
chunkSize
private final int chunkSize
-
-
Constructor Details
-
HttpClientConnection
-
-
Method Details
-
createOutputStream
protected OutputStream createOutputStream(long len, org.apache.http.io.SessionOutputBuffer outbuffer) - Overrides:
createOutputStream
in classorg.apache.http.impl.BHttpConnectionBase
-