public class NettyHttpConduit extends URLConnectionHTTPConduit implements BusLifeCycleListener
Modifier and Type | Class and Description |
---|---|
class |
NettyHttpConduit.NettyWrappedOutputStream |
HTTPConduit.InterposedMessageObserver, HTTPConduit.WrappedOutputStream
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_NULL
authorizationPolicy, 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
target
incomingObserver
Constructor and Description |
---|
NettyHttpConduit(Bus b,
EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
NettyHttpConduitFactory conduitFactory) |
Modifier and Type | Method and Description |
---|---|
protected OutputStream |
createOutputStream(Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold) |
protected static int |
determineMaxResponseContentLength(Message message) |
NettyHttpConduitFactory |
getNettyHttpConduitFactory() |
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
protected void |
setupConnection(Message message,
Address address,
HTTPClientPolicy csPolicy) |
close
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, setTrustDecider
getTarget, toString
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageObserver, setMessageObserver
public static final String USE_ASYNC
public static final String MAX_RESPONSE_CONTENT_LENGTH
public NettyHttpConduit(Bus b, EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, NettyHttpConduitFactory conduitFactory) throws IOException
IOException
public NettyHttpConduitFactory getNettyHttpConduitFactory()
protected void setupConnection(Message message, Address address, HTTPClientPolicy csPolicy) throws IOException
setupConnection
in class URLConnectionHTTPConduit
IOException
protected OutputStream createOutputStream(Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
createOutputStream
in class URLConnectionHTTPConduit
IOException
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
protected static int determineMaxResponseContentLength(Message message)
Apache CXF