Class BatchOfflineHTTPConduit
- java.lang.Object
-
- org.apache.cxf.transport.AbstractObservable
-
- org.apache.cxf.transport.AbstractConduit
-
- org.apache.cxf.transport.http.HTTPConduit
-
- org.apache.syncope.client.lib.batch.BatchOfflineHTTPConduit
-
- All Implemented Interfaces:
PropertyChangeListener,EventListener,org.apache.cxf.configuration.Configurable,org.apache.cxf.transport.Assertor,org.apache.cxf.transport.Conduit,org.apache.cxf.transport.Observable
public class BatchOfflineHTTPConduit extends org.apache.cxf.transport.http.HTTPConduit
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.transport.http.HTTPConduit
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, SERVICE_NOT_AVAILABLE_ON_HTTP_STATUS_CODES, SET_HTTP_RESPONSE_MESSAGE, tlsClientParameters, trustDecider
-
-
Constructor Summary
Constructors Constructor Description BatchOfflineHTTPConduit(org.apache.cxf.Bus bus, org.apache.cxf.service.model.EndpointInfo ei)BatchOfflineHTTPConduit(org.apache.cxf.Bus bus, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OutputStreamcreateOutputStream(org.apache.cxf.message.Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold)org.apache.cxf.transports.http.configuration.HTTPClientPolicygetClient(org.apache.cxf.message.Message message)ByteArrayOutputStreamgetOutputStream()protected voidsetupConnection(org.apache.cxf.message.Message message, org.apache.cxf.transport.http.Address address, org.apache.cxf.transports.http.configuration.HTTPClientPolicy csPolicy)-
Methods inherited from class org.apache.cxf.transport.http.HTTPConduit
assertMessage, canAssert, close, close, determineConnectionTimeout, determineReceiveTimeout, extractLocation, finalizeConfig, getAddress, getAuthorization, getAuthSupplier, getBeanName, getClient, getConduitName, getCookies, getEffectiveAuthPolicy, getLogger, getProxyAuthorization, getProxyAuthSupplier, getTlsClientParameters, getTrustDecider, getURI, isChunkingSupported, logStackTrace, prepare, propertyChange, setAuthorization, setAuthSupplier, setClient, setHeadersByAuthorizationPolicy, setProxyAuthorization, setProxyAuthSupplier, setTlsClientParameters, setTrustDecider
-
Methods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
-
-
-
-
Constructor Detail
-
BatchOfflineHTTPConduit
public BatchOfflineHTTPConduit(org.apache.cxf.Bus bus, org.apache.cxf.service.model.EndpointInfo ei) throws IOException- Throws:
IOException
-
BatchOfflineHTTPConduit
public BatchOfflineHTTPConduit(org.apache.cxf.Bus bus, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t) throws IOException- Throws:
IOException
-
-
Method Detail
-
setupConnection
protected void setupConnection(org.apache.cxf.message.Message message, org.apache.cxf.transport.http.Address address, org.apache.cxf.transports.http.configuration.HTTPClientPolicy csPolicy) throws IOException- Specified by:
setupConnectionin classorg.apache.cxf.transport.http.HTTPConduit- Throws:
IOException
-
getClient
public org.apache.cxf.transports.http.configuration.HTTPClientPolicy getClient(org.apache.cxf.message.Message message)
- Overrides:
getClientin classorg.apache.cxf.transport.http.HTTPConduit
-
createOutputStream
protected OutputStream createOutputStream(org.apache.cxf.message.Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
- Specified by:
createOutputStreamin classorg.apache.cxf.transport.http.HTTPConduit- Throws:
IOException
-
getOutputStream
public ByteArrayOutputStream getOutputStream()
-
-