public class JaxWSProtocol extends HdaProtocol<JaxWSClientConnection> implements DataSource
Protocol.NullHandlingStrategyBEGIN_HDA, BEGIN_HDA_NO_HEADER, CONTENT_LENGTH, CONTENT_LENGTH_HEADER, CONTENT_TYPE_HEADER, END_HDA, END_HEADER_LINE, END_HEADERS, END_MESSAGE, END_SERVER_HEADERS, HEADER_ENCODING_HEADER, HEADER_LINE, HTTP_HOST, HTTP_HOST_HEADER, IDC_FILE, REMOTE_USER_HEADER, REQUEST_METHOD_HEADER, RETRY_COUNT, USER_AGENT_HEADERIDC_HEADER_PREFIX, IDC_NULL_HANDLING, NULL_VALUE_OMIT, NULL_VALUE_TREAT_AS_EMPTYSTRING, NULL_VALUE_TREAT_AS_LOWERCASENULL| Constructor and Description |
|---|
JaxWSProtocol(JaxWSClient client, ServiceRequest<JaxWSClientConnection> serviceRequest, DataFactory dataFactory, JaxWSClientConfig config)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Data source Implementation
|
InputStream |
getInputStream() |
protected JaxWSServiceStack |
getJaxWSStack() |
String |
getName() |
OutputStream |
getOutputStream() |
OutputStream |
getRequestStream() |
void |
logout()
Best-effort Logout from Content Server
|
void |
writeRequest()
Sends the specified message to the Content Server.
|
void |
writeSuperRequest() |
getAdditionalHeaders, getClient, getConnection, getDataFactory, getEncoding, getFilterManager, getHeaderCharset, getHeaders, getHeadersAsString, getHeaderString, getResponseStream, getServiceRequest, readHdaStream, readHeaders, readResponse, setFilterManager, setHeaderCharset, writeMultipartRequest, writeStandardRequestpublic JaxWSProtocol(JaxWSClient client, ServiceRequest<JaxWSClientConnection> serviceRequest, DataFactory dataFactory, JaxWSClientConfig config) throws ProtocolException
serviceRequest - the service requestdataFactory - the data factoryconfig - the client configProtocolException
public void writeRequest()
throws ProtocolException
HdaProtocolwriteRequest in interface ProtocolwriteRequest in class HdaProtocol<JaxWSClientConnection>ProtocolException - If an error occurs during the send.
public void logout()
throws ProtocolException
Protocollogout in interface ProtocolProtocolExceptionprotected JaxWSServiceStack getJaxWSStack() throws ProtocolException
ProtocolException
public void writeSuperRequest()
throws IOException,
ProtocolException
IOExceptionProtocolExceptionpublic OutputStream getRequestStream() throws IOException
getRequestStream in class HdaProtocol<JaxWSClientConnection>IOExceptionpublic String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOException