org.apache.cxf.transport.http
Class URLConnectionHTTPConduit
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
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, Configurable, Assertor, Conduit, Observable
- Direct Known Subclasses:
- AsyncHTTPConduit
public class URLConnectionHTTPConduit
- extends HTTPConduit
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 |
connectionFactory
protected HttpsURLConnectionFactory connectionFactory
- This field holds the connection factory, which primarily is used to
factor out SSL specific code from this implementation.
This field is "protected" to facilitate some contrived UnitTesting so
that an extended class may alter its value with an EasyMock URLConnection
Factory.
URLConnectionHTTPConduit
public URLConnectionHTTPConduit(Bus b,
EndpointInfo ei)
throws IOException
- Throws:
IOException
URLConnectionHTTPConduit
public URLConnectionHTTPConduit(Bus b,
EndpointInfo ei,
EndpointReferenceType t)
throws IOException
- Throws:
IOException
close
public void close()
- Close the conduit
- Specified by:
close
in interface Conduit
- Overrides:
close
in class HTTPConduit
setupConnection
protected void setupConnection(Message message,
URI currentURL,
HTTPClientPolicy csPolicy)
throws IOException
- Specified by:
setupConnection
in class HTTPConduit
- Throws:
IOException
createOutputStream
protected OutputStream createOutputStream(Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold)
throws IOException
- Specified by:
createOutputStream
in class HTTPConduit
- Throws:
IOException
Apache CXF