Skip navigation links
oracle.stellent.ridc.protocol.jaxws
Class JaxWSProtocol
java.lang.Object
oracle.stellent.ridc.protocol.intradoc.HdaProtocol<JaxWSClientConnection>
oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol
- All Implemented Interfaces:
- javax.activation.DataSource, Protocol
-
public class JaxWSProtocol
- extends HdaProtocol<JaxWSClientConnection>
- implements javax.activation.DataSource
Implementation of the JAX-WS protocol
Fields inherited from class oracle.stellent.ridc.protocol.intradoc.HdaProtocol |
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, IDC_HEADER_PREFIX, REMOTE_USER_HEADER, REQUEST_METHOD_HEADER, RETRY_COUNT, USER_AGENT_HEADER |
Methods inherited from class oracle.stellent.ridc.protocol.intradoc.HdaProtocol |
getAdditionalHeaders, getConnection, getDataFactory, getEncoding, getHeaderCharset, getHeaders, getHeadersAsString, getHeaderString, getResponseStream, getServiceRequest, readHdaStream, readHeaders, readResponse, setHeaderCharset, writeMultipartRequest, writeStandardRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SET_COOKIE_HEADER
public static final java.lang.String SET_COOKIE_HEADER
-
- See Also:
- Constant Field Values
JaxWSProtocol
public JaxWSProtocol(ServiceRequest<JaxWSClientConnection> serviceRequest,
DataFactory dataFactory,
JaxWSClientConfig config)
throws ProtocolException
- Constructor
- Parameters:
serviceRequest
- the service request
dataFactory
- the data factory
config
- the client config
- Throws:
ProtocolException
writeRequest
public void writeRequest()
throws ProtocolException
- Description copied from class:
HdaProtocol
- Sends the specified message to the Content Server.
-
- Specified by:
writeRequest
in interface Protocol
- Overrides:
writeRequest
in class HdaProtocol<JaxWSClientConnection>
-
- Throws:
ProtocolException
- If an error occurs during the send.
authenticateUser
protected boolean authenticateUser()
throws ProtocolException
- Authenticate the user and save the cookie in the user context
-
- Returns:
- true if the user was authenticated, else false
- Throws:
ProtocolException
writeSuperRequest
public void writeSuperRequest()
throws java.io.IOException,
ProtocolException
-
- Throws:
java.io.IOException
ProtocolException
getRequestStream
public java.io.OutputStream getRequestStream()
throws java.io.IOException
-
- Overrides:
getRequestStream
in class HdaProtocol<JaxWSClientConnection>
-
- Throws:
java.io.IOException
getContentType
public java.lang.String getContentType()
- Data source Implementation
-
- Specified by:
getContentType
in interface javax.activation.DataSource
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
-
- Specified by:
getInputStream
in interface javax.activation.DataSource
-
- Throws:
java.io.IOException
getName
public java.lang.String getName()
-
- Specified by:
getName
in interface javax.activation.DataSource
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
-
- Specified by:
getOutputStream
in interface javax.activation.DataSource
-
- Throws:
java.io.IOException
Skip navigation links
Copyright © 2008, 2010, Oracle and/or its affiliates. All rights reserved.