Modifier and Type | Method and Description |
---|---|
protected ConnectionPool<TConnection> |
IdcClient.createConnectionPool() |
protected abstract TProtocol |
IdcClient.createProtocol(ServiceRequest<TConnection> serviceRequest)
Create the protocol to handle the request
|
ConnectionPool<TConnection> |
IdcClient.getConnectionPool() |
Modifier and Type | Method and Description |
---|---|
int |
RIDCHttpMethod.execute()
Execute the request
|
InputStream |
RIDCHttpMethod.getResponseBodyAsStream()
Get the response as a stream
|
RIDCHttpHeader |
RIDCHttpMethod.getResponseHeader(String headerName)
Get response header
|
List<RIDCHttpHeader> |
RIDCHttpMethod.getResponseHeaders()
Get all response headers
|
int |
RIDCHttpMethod.getStatusCode()
Get the status code of the response
|
String |
RIDCHttpMethod.getStatusLine()
Get the status line of the response
|
Modifier and Type | Method and Description |
---|---|
TConnection |
ConnectionPool.acquireConnection()
Obtain a connection from the pool for the current thread
|
void |
Connection.close()
Close the connection
|
void |
Connection.connect()
Create and initialize a connection
|
TConnection |
ConnectionManager.createConnection(TClientConfig clientConfig)
Create a new connection.
|
<TCon extends Connection> |
ConnectionPoolManager.createConnectionPool(String name,
IdcClientConfig config,
ConnectionManager<TCon,IdcClientConfig> manager)
Create a new connection pool
|
void |
ConnectionPool.initialize(IdcClientConfig clientConfig,
ConnectionManager<TConnection,IdcClientConfig> connectionManager)
Let a pool implementation initialize itself
|
void |
ConnectionManager.initializeConnection(TConnection connection)
Initialize a connection acquired from the threading model to use with this service request object.
|
void |
Protocol.logout()
Best-effort Logout from Content Server
|
ServiceResponse |
Protocol.readResponse() |
void |
Protocol.writeRequest()
Send request to the Content Server
|
Modifier and Type | Class and Description |
---|---|
class |
HttpProtocolException
Exceptions in the IdcHttpProtocol implementation
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationHandler |
IdcHttpProtocol.createAuthHandler(IdcContext.HttpAuthScheme authScheme,
IdcHttpProtocol httpProtocol)
Retrieve the authentication handler associated with the given authentication scheme
|
IdcHttpClientConnection |
IdcHttpConnectionManager.createConnection(IdcHttpClientConfig clientConfig)
Create a new connection.
|
protected int |
IdcHttpProtocol.executeBinderMethod(List<NameValuePair> parameters,
Boolean followRedirects)
Execute an HTTP method against the content server that POSTs a binder in
HDA format
|
protected int |
IdcHttpProtocol.executeStreamMethod(List<NameValuePair> parameters)
Execute a multipart POST method against the content server that uploads the given files.
|
InputStream |
IdcHttpProtocol.getInputStream() |
boolean |
AuthenticationHandler.isAuthSupported(RIDCHttpClient httpClient,
RIDCHttpMethod httpMethod)
Determine if the current handler can handle the given response to the auth scheme
|
void |
IdcHttpProtocol.logout() |
ServiceResponse |
IdcHttpProtocol.readResponse()
Reads the next message, if a message is not completely received within the timeout specified an exception
is thrown.
|
int |
AuthenticationHandler.sendAuthenticatedRequest()
Send the authenticated request to the Content Server
|
int |
IdcHttpProtocol.sendRequest()
Send the request to the Content Server; used internally by the AuthHandler implementations
Same as
sendRequest(null) |
int |
IdcHttpProtocol.sendRequest(Boolean followRedirects)
Send the request to the Content Server; used internally by the AuthHandler implementations
|
void |
IdcHttpProtocol.writeRequest()
Write the request to the Content Server
|
Modifier and Type | Method and Description |
---|---|
protected RIDCHttpClient |
FormAuthHandler.createHttpClient() |
protected RIDCHttpClient |
OAM11GWebgateAuthHandler.createHttpClient() |
protected RIDCHttpPostMethod |
OIMSSOAuthHandler.createLoginMethod()
Create the post method for the login operation
|
protected RIDCHttpPostMethod |
FormAuthHandler.createLoginMethod()
Create the post method for the login operation
|
protected RIDCHttpMethod |
OIMSSOAuthHandler.createPingMethod()
Create the method used to PING the server
|
protected RIDCHttpMethod |
OAMSSOAuthHandler.createPingMethod()
Create the method used to PING the server
|
protected RIDCHttpMethod |
OIMSSOAuthHandler.createRedirectMethod(RIDCHttpMethod httpMethod)
Create a method to follow a redirect, using the Location response header.
|
AuthenticationHandler |
AuthenticationDetector.determineAuthHandler(IdcHttpProtocol httpProtocol)
Determine which authentication handler to use for the Content Server.
|
protected int |
FormAuthHandler.executeLogin(RIDCHttpPostMethod postMethod)
Execute the login method
|
RIDCHttpClient |
FormAuthHandler.getHttpClient() |
RIDCHttpClient |
OAM11GWebgateAuthHandler.getHttpClient() |
protected String |
OIMSSOAuthHandler.getLoginFormPath(IdcContext.LoginForm loginForm)
Determine the location for the login form post.
|
protected String |
FormAuthHandler.getLoginFormPath(IdcContext.LoginForm loginForm)
Determine the location for the login form post
|
protected void |
FormAuthHandler.handleFormLogin()
Handle logging into the Content Server via a login form
|
protected void |
OAMSSOAuthHandler.handleFormLogin()
Handle logging into the Content Server via a login form
|
protected void |
OIMSSOAuthHandler.handleFormResponse(RIDCHttpMethod postMethod,
int status)
Handle processing the response from the form login
|
protected void |
FormAuthHandler.handleFormResponse(RIDCHttpMethod postMethod,
int status)
Handle processing the response from the form login
|
protected void |
OAMSSOAuthHandler.handleFormResponse(RIDCHttpMethod postMethod,
int status)
Handle processing the response from the form login
|
protected void |
OAM11GWebgateAuthHandler.handleLogin()
With redirects enabled, HTTP GET the PING_SERVER service fronted by the
OHS hosting the 11g Webgate (/cs/idcplg?IdcService=PING_SERVER&IsJava=1)
...
|
boolean |
OIMSSOAuthHandler.isAuthSupported(RIDCHttpClient httpClient,
RIDCHttpMethod httpMethod)
Determine if the current handler can handle the given response to the auth scheme
|
boolean |
FormAuthHandler.isAuthSupported(RIDCHttpClient httpClient,
RIDCHttpMethod httpMethod)
Determine if the current handler can handle the given response to the auth scheme
|
boolean |
OAM11GWebgateAuthHandler.isAuthSupported(RIDCHttpClient httpClient,
RIDCHttpMethod pingMethod)
Determine if 11g Webgate authentication is in the mix.
|
boolean |
OAMSSOAuthHandler.isAuthSupported(RIDCHttpClient httpClient,
RIDCHttpMethod httpMethod)
Determine if the current handler can handle the given response to the auth scheme
|
boolean |
GenericAuthHandler.isAuthSupported(RIDCHttpClient httpClient,
RIDCHttpMethod httpMethod) |
protected void |
OIMSSOAuthHandler.readUnusedResponseBody(RIDCHttpMethod method)
Read and discard the response body from the HttpMethod.
|
int |
BasicAuthHandler.sendAuthenticatedRequest()
Send the authenticated request to the Content Server
|
int |
BearerTokenAuthHandler.sendAuthenticatedRequest()
Send the authenticated request to the Content Server
|
int |
FormAuthHandler.sendAuthenticatedRequest()
Send the authenticated request to the Content Server
|
int |
OAM11GWebgateAuthHandler.sendAuthenticatedRequest() |
int |
GenericAuthHandler.sendAuthenticatedRequest() |
protected void |
OAM11GWebgateAuthHandler.throwFailedAuthenticationException(RIDCHttpMethod method) |
protected void |
FormAuthHandler.throwFormValidateException(RIDCHttpMethod postMethod)
Throw the form validation exception
|
Modifier and Type | Method and Description |
---|---|
int |
HttpURLConnectionMethod.execute() |
InputStream |
HttpURLConnectionMethod.getResponseBodyAsStream() |
RIDCHttpHeader |
HttpURLConnectionMethod.getResponseHeader(String headerName) |
List<RIDCHttpHeader> |
HttpURLConnectionMethod.getResponseHeaders() |
int |
HttpURLConnectionMethod.getStatusCode() |
String |
HttpURLConnectionMethod.getStatusLine() |
Modifier and Type | Method and Description |
---|---|
int |
HttpOraclePostMethod.execute() |
int |
HttpOracleGetMethod.execute() |
InputStream |
HttpOracleMethod.getResponseBodyAsStream() |
RIDCHttpHeader |
HttpOracleMethod.getResponseHeader(String headerName) |
List<RIDCHttpHeader> |
HttpOracleMethod.getResponseHeaders() |
int |
HttpOracleMethod.getStatusCode() |
String |
HttpOracleMethod.getStatusLine() |
Modifier and Type | Method and Description |
---|---|
TConnection |
SimpleConnectionPool.acquireConnection() |
TConnection |
BlockingQueueConnectionPool.acquireConnection() |
void |
SimpleConnectionPool.initialize(IdcClientConfig clientConfig,
ConnectionManager<TConnection,IdcClientConfig> connectionManager)
Initialize the threading model
|
void |
BlockingQueueConnectionPool.initialize(IdcClientConfig clientConfig,
ConnectionManager<TConnection,IdcClientConfig> connectionManager)
Initialize the threading model
|
Modifier and Type | Method and Description |
---|---|
void |
IntradocProtocol.logout() |
ServiceResponse |
HdaProtocol.readResponse()
Reads the next message, if a message is not completely received
within the timeout specified an exception is thrown.
|
void |
HdaProtocol.writeRequest()
Sends the specified message to the Content Server.
|
Modifier and Type | Class and Description |
---|---|
class |
SSLProtocolException
Exceptions specific to SSL configuration and setup
|
Modifier and Type | Method and Description |
---|---|
void |
SocketConnection.connect()
Connect this socket to the configured destination
|
SocketConnection |
SocketConnectionManager.createConnection(IntradocClientConfig clientConfig)
Create a new connection.
|
SocketConnection |
SSLSocketConnectionManager.createConnection(IntradocClientConfig clientConfig)
Create a new socket connection based on the given client configuration.
|
protected Socket |
SocketConnection.createSocket()
Create the socket to the configured host
|
protected Socket |
SSLSocketConnection.createSocket()
Create the socket to the configured host
|
void |
SocketConnectionManager.initializeConnection(SocketConnection connection)
Initialize a connection acquired from the threading model to use with this service request object.
|
Modifier and Type | Method and Description |
---|---|
void |
JaxWSClientConnection.close() |
JaxWSClientConnection |
JaxWSConnectionManager.createConnection(JaxWSClientConfig clientConfig)
Create a new connection
|
protected JaxWSProtocol |
JaxWSClient.createProtocol(ServiceRequest<JaxWSClientConnection> serviceRequest) |
protected JaxWSServiceStack |
JaxWSProtocol.getJaxWSStack() |
JaxWSClientConfig.JAXWSSTACK |
JaxWSClientConfig.getJaxWSStack() |
void |
JaxWSConnectionManager.initializeConnection(JaxWSClientConnection connection) |
void |
JaxWSProtocol.logout() |
void |
JaxWSClientConfig.setJaxWSStack(String stackName) |
void |
JaxWSProtocol.writeRequest() |
void |
JaxWSProtocol.writeSuperRequest() |
Constructor and Description |
---|
JaxWSProtocol(JaxWSClient client,
ServiceRequest<JaxWSClientConnection> serviceRequest,
DataFactory dataFactory,
JaxWSClientConfig config)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
JaxWSServiceStack.authenticateUser()
Authenticate the user and save the cookie in the user context
|
abstract void |
JaxWSServiceStack.getCookiesFromUserContext(IdcContext userContext,
Map<String,Object> requestContext) |
abstract IdcWebLogin |
JaxWSServiceStack.getLoginPort() |
abstract IdcWebRequest |
JaxWSServiceStack.getRequestPort() |
void |
JaxWSServiceStack.performServiceRequest() |
Constructor and Description |
---|
JaxWSServiceStack(ServiceRequest<JaxWSClientConnection> serviceRequest,
DataFactory dataFactory,
JaxWSClientConfig config,
JaxWSProtocol protocol) |
Modifier and Type | Method and Description |
---|---|
void |
JaxWSjrfServiceStack.getCookiesFromUserContext(IdcContext userContext,
Map<String,Object> requestContext) |
IdcWebLogin |
JaxWSbkServiceStack.getLoginPort() |
IdcWebRequest |
JaxWSjrfServiceStack.getRequestPort() |
Constructor and Description |
---|
JaxWSbkServiceStack(ServiceRequest<JaxWSClientConnection> serviceRequest,
DataFactory dataFactory,
JaxWSClientConfig config,
JaxWSProtocol protocol) |
JaxWSjrfServiceStack(ServiceRequest<JaxWSClientConnection> serviceRequest,
DataFactory dataFactory,
JaxWSClientConfig config,
JaxWSProtocol protocol) |
Modifier and Type | Method and Description |
---|---|
void |
JaxWSwlsServiceStack.getCookiesFromUserContext(IdcContext userContext,
Map<String,Object> requestContext) |
IdcWebLogin |
JaxWSwlsServiceStack.getLoginPort() |
IdcWebRequest |
JaxWSwlsServiceStack.getRequestPort() |
Constructor and Description |
---|
JaxWSwlsServiceStack(ServiceRequest<JaxWSClientConnection> serviceRequest,
DataFactory dataFactory,
JaxWSClientConfig config,
JaxWSProtocol protocol) |