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.
|
authorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultEndpointURI, defaultEndpointURIString, endpointInfo, fromEndpointReferenceType, KEY_HTTP_CONNECTION, KEY_HTTP_CONNECTION_ADDRESS, LOG, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, tlsClientParameters, trustDecider
target
incomingObserver
Constructor and Description |
---|
URLConnectionHTTPConduit(Bus b,
EndpointInfo ei) |
URLConnectionHTTPConduit(Bus b,
EndpointInfo ei,
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, getURI, isChunkingSupported, 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
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
IOException
public URLConnectionHTTPConduit(Bus b, EndpointInfo ei, EndpointReferenceType t) throws IOException
IOException
public void close()
close
in interface Conduit
close
in class HTTPConduit
protected void setupConnection(Message message, Address address, HTTPClientPolicy csPolicy) throws IOException
setupConnection
in class HTTPConduit
IOException
protected OutputStream createOutputStream(Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
createOutputStream
in class HTTPConduit
IOException
Apache CXF