public class JaxWSProtocol extends HdaProtocol<JaxWSClientConnection> implements DataSource
Protocol.NullHandlingStrategy
BEGIN_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_HEADER
IDC_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, writeStandardRequest
public 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
HdaProtocol
writeRequest
in interface Protocol
writeRequest
in class HdaProtocol<JaxWSClientConnection>
ProtocolException
- If an error occurs during the send.public void logout() throws ProtocolException
Protocol
logout
in interface Protocol
ProtocolException
protected JaxWSServiceStack getJaxWSStack() throws ProtocolException
ProtocolException
public void writeSuperRequest() throws IOException, ProtocolException
IOException
ProtocolException
public OutputStream getRequestStream() throws IOException
getRequestStream
in class HdaProtocol<JaxWSClientConnection>
IOException
public String getContentType()
getContentType
in interface DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException