public class URLConnectionHTTPConduit extends HTTPConduit
HTTPConduit.InterposedMessageObserver, HTTPConduit.WrappedOutputStream| Modifier and Type | Field and Description |
|---|---|
protected HttpsURLConnectionFactory |
connectionFactory
This field holds the connection factory, which primarily is used to
factor out SSL specific code from this implementation.
|
static String |
HTTPURL_CONNECTION_METHOD_REFLECTION |
static String |
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, trustDecidertargetincomingObserver| Constructor and Description |
|---|
URLConnectionHTTPConduit(Bus b,
EndpointInfo ei) |
URLConnectionHTTPConduit(Bus b,
EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the conduit
|
protected OutputStream |
createOutputStream(Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold) |
protected void |
setupConnection(Message message,
Address address,
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, setTrustDecidergetTarget, toStringactivate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessageObserver, setMessageObserverpublic static final String HTTPURL_CONNECTION_METHOD_REFLECTION
public static final String SET_REASON_PHRASE_NOT_NULL
protected HttpsURLConnectionFactory connectionFactory
This field is "protected" to facilitate some contrived UnitTesting so that an extended class may alter its value with an EasyMock URLConnection Factory.
public URLConnectionHTTPConduit(Bus b, EndpointInfo ei) throws IOException
IOExceptionpublic URLConnectionHTTPConduit(Bus b, EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t) throws IOException
IOExceptionpublic void close()
close in interface Conduitclose in class HTTPConduitprotected void setupConnection(Message message, Address address, HTTPClientPolicy csPolicy) throws IOException
setupConnection in class HTTPConduitIOExceptionprotected OutputStream createOutputStream(Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
createOutputStream in class HTTPConduitIOExceptionApache CXF