org.apache.cxf.transport.http.netty.client
Class NettyHttpConduit
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractConduit
org.apache.cxf.transport.http.HTTPConduit
org.apache.cxf.transport.http.URLConnectionHTTPConduit
org.apache.cxf.transport.http.netty.client.NettyHttpConduit
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, BusLifeCycleListener, Configurable, Assertor, Conduit, Observable
public class NettyHttpConduit
- extends URLConnectionHTTPConduit
- implements BusLifeCycleListener
Fields inherited from class org.apache.cxf.transport.http.HTTPConduit |
authorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultEndpointURI, defaultEndpointURIString, endpointInfo, fromEndpointReferenceType, KEY_HTTP_CONNECTION, LOG, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, tlsClientParameters, trustDecider |
Methods inherited from class org.apache.cxf.transport.http.HTTPConduit |
assertMessage, canAssert, close, determineConnectionTimeout, determineReceiveTimeout, extractLocation, finalizeConfig, getAddress, getAuthorization, getAuthSupplier, getBeanName, getClient, getClient, getConduitName, getCookies, getEffectiveAuthPolicy, getLogger, getProxyAuthorization, getProxyAuthSupplier, getTlsClientParameters, getTrustDecider, getURI, getURI, isChunkingSupported, prepare, propertyChange, setAuthorization, setAuthSupplier, setClient, setHeadersByAuthorizationPolicy, setProxyAuthorization, setProxyAuthSupplier, setTlsClientParameters, setTrustDecider |
USE_ASYNC
public static final String USE_ASYNC
- See Also:
- Constant Field Values
NettyHttpConduit
public NettyHttpConduit(Bus b,
EndpointInfo ei,
EndpointReferenceType t,
NettyHttpConduitFactory conduitFactory)
throws IOException
- Throws:
IOException
getNettyHttpConduitFactory
public NettyHttpConduitFactory getNettyHttpConduitFactory()
setupConnection
protected void setupConnection(Message message,
URI uri,
HTTPClientPolicy csPolicy)
throws IOException
- Overrides:
setupConnection
in class URLConnectionHTTPConduit
- Throws:
IOException
createOutputStream
protected OutputStream createOutputStream(Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold)
throws IOException
- Overrides:
createOutputStream
in class URLConnectionHTTPConduit
- Throws:
IOException
initComplete
public void initComplete()
- Description copied from interface:
BusLifeCycleListener
- Invoked when the
Bus
has been initialized.
- Specified by:
initComplete
in interface BusLifeCycleListener
postShutdown
public void postShutdown()
- Description copied from interface:
BusLifeCycleListener
- Invoked after the
Bus
is shutdown.
- Specified by:
postShutdown
in interface BusLifeCycleListener
preShutdown
public void preShutdown()
- Description copied from interface:
BusLifeCycleListener
- Invoked before the
Bus
is shutdown.
- Specified by:
preShutdown
in interface BusLifeCycleListener
Apache CXF