public class NettyHttpConduit
extends org.apache.cxf.transport.http.URLConnectionHTTPConduit
implements org.apache.cxf.buslifecycle.BusLifeCycleListener
| Modifier and Type | Class and Description |
|---|---|
class |
NettyHttpConduit.NettyWrappedOutputStream |
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_RESPONSE_CONTENT_LENGTH |
static String |
USE_ASYNC |
connectionFactory, HTTPURL_CONNECTION_METHOD_REFLECTION, SET_REASON_PHRASE_NOT_NULLauthorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultAddress, endpointInfo, fromEndpointReferenceType, HTTP_RESPONSE_MESSAGE, KEY_HTTP_CONNECTION, KEY_HTTP_CONNECTION_ADDRESS, LOG, NO_IO_EXCEPTIONS, PROCESS_FAULT_ON_HTTP_400, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, SET_HTTP_RESPONSE_MESSAGE, tlsClientParameters, trustDecider| Constructor and Description |
|---|
NettyHttpConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
NettyHttpConduitFactory conduitFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputStream |
createOutputStream(org.apache.cxf.message.Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold) |
protected static int |
determineMaxResponseContentLength(org.apache.cxf.message.Message message) |
NettyHttpConduitFactory |
getNettyHttpConduitFactory() |
void |
initComplete() |
void |
postShutdown() |
void |
preShutdown() |
protected void |
setupConnection(org.apache.cxf.message.Message message,
org.apache.cxf.transport.http.Address address,
org.apache.cxf.transports.http.configuration.HTTPClientPolicy csPolicy) |
assertMessage, canAssert, close, determineConnectionTimeout, determineReceiveTimeout, extractLocation, finalizeConfig, getAddress, getAuthorization, getAuthSupplier, getBeanName, getClient, getClient, getConduitName, getCookies, getEffectiveAuthPolicy, getLogger, getProxyAuthorization, getProxyAuthSupplier, getTlsClientParameters, getTrustDecider, getURI, isChunkingSupported, logStackTrace, prepare, propertyChange, setAuthorization, setAuthSupplier, setClient, setHeadersByAuthorizationPolicy, setProxyAuthorization, setProxyAuthSupplier, setTlsClientParameters, setTrustDecideractivate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverpublic static final String USE_ASYNC
public static final String MAX_RESPONSE_CONTENT_LENGTH
public NettyHttpConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
NettyHttpConduitFactory conduitFactory)
throws IOException
IOExceptionpublic NettyHttpConduitFactory getNettyHttpConduitFactory()
protected void setupConnection(org.apache.cxf.message.Message message,
org.apache.cxf.transport.http.Address address,
org.apache.cxf.transports.http.configuration.HTTPClientPolicy csPolicy)
throws IOException
setupConnection in class org.apache.cxf.transport.http.URLConnectionHTTPConduitIOExceptionprotected OutputStream createOutputStream(org.apache.cxf.message.Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
createOutputStream in class org.apache.cxf.transport.http.URLConnectionHTTPConduitIOExceptionpublic void initComplete()
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic void postShutdown()
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerpublic void preShutdown()
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListenerprotected static int determineMaxResponseContentLength(org.apache.cxf.message.Message message)
Apache CXF