Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.wcps.conductor.services
Class RemoteClientContext

java.lang.Object
  extended by oracle.wcps.conductor.services.ClientContext
      extended by oracle.wcps.conductor.services.RemoteClientContext

All Implemented Interfaces:
java.lang.Cloneable

public class RemoteClientContext
extends ClientContext

Convenience class for remote connectivity to the conductor.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.wcps.conductor.services.ClientContext
ClientContext.Projection

 

Field Summary
static java.lang.String CONTENT_TYPE_JSON
          Specifies the content-type to be JSON.
static java.lang.String CONTENT_TYPE_XML
          Specifies the content-type to be XML
static java.lang.String DEFAULT_CONTENT_TYPE
          Sets the default content-type.
static java.lang.String PROPERTY_CLIENT_FILTERS
          The context property for filters (e.g.
static java.lang.String PROPERTY_HEADER_ACCEPT
          The context property for accept header.
static java.lang.String PROPERTY_HEADER_CONTENT_TYPE
          The context property for content-type header.
static java.lang.String PROPERTY_HOST
          The context property for host or IP address.
static java.lang.String PROPERTY_HTTP_SERVLET_REQUEST
          The context property for HttpServletRequest.
static java.lang.String PROPERTY_PASSWORD
          The context property for password.
static java.lang.String PROPERTY_PATH
          The context property for context path.
static java.lang.String PROPERTY_PORT
          The context property for port.
static java.lang.String PROPERTY_SCHEME
          The context property for scheme or protocol.
static java.lang.String PROPERTY_URL
          For fully qualified urls (not including namespace).

 

Fields inherited from class oracle.wcps.conductor.services.ClientContext
DEFAULT_ITEMS_PER_PAGE, DEFAULT_START_INDEX, PROPERTY_CLASS_CONTEXT, PROPERTY_ITEMS_PER_PAGE, PROPERTY_LOCALE, PROPERTY_LOG_ERRORS, PROPERTY_NAMESPACE, PROPERTY_PROJECTION, PROPERTY_START_INDEX, PROPERTY_USERNAME

 

Constructor Summary
RemoteClientContext()
           

 

Method Summary
 void addFilter(ClientFilter logFilter)
          Adds a filter to this client context (e.g.
 java.lang.String getAcceptType()
          Sets the accept header.
 java.lang.String getContentType()
          Returns the current content-type.
 java.util.List<ClientFilter> getFilters()
          Returns the specified collection of client filters.
 java.lang.String getHost()
          Returns the specified host or IP address.
 java.lang.String getPassword()
          Returns the current user's password, if specified.
 java.lang.String getPath()
          Returns the path to the resourceIndex for the conductor.
 java.lang.Integer getPort()
          Returns the specified port.
 ClientContext.Projection getProjection()
          Returns the project associated with the current request.
 java.lang.String getScheme()
          Returns the scheme or protocol.
 java.lang.String getUrl()
          Returns the specified url to the conductor service.
 java.lang.String getUsername()
          Returns the current username.
 void setAcceptType(java.lang.String acceptType)
          Sets the value for the accept header.
 void setContentType(java.lang.String contentType)
          Sets the content type.
 void setHost(java.lang.String host)
          Sets the specified hostname or IP address of the conductor.
 void setPassword(java.lang.String password)
          Sets the user's password.
 void setPath(java.lang.String path)
          Sets the path to the resourceIndex for the conductor.
 void setPort(int port)
          Sets the port to the conductor service.
 void setProjection(ClientContext.Projection projection)
          Sets the projection for this client context.
 void setScheme(java.lang.String scheme)
          Sets the scheme or protocol.
 void setUrl(java.lang.String url)
          Sets the URL for the conductor service.
 void setUsername(java.lang.String username)
          Sets the username.

 

Methods inherited from class oracle.wcps.conductor.services.ClientContext
addContextClasses, clone, copy, getAttribute, getAttribute, getItemsPerPage, getLocale, getLogErrorMessages, getNamespace, getStartIndex, setAttribute, setItemsPerPage, setLocale, setLogErrorMessages, setNamespace, setStartIndex, toString

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

PROPERTY_HOST

public static final java.lang.String PROPERTY_HOST
The context property for host or IP address.
See Also:
Constant Field Values

PROPERTY_SCHEME

public static final java.lang.String PROPERTY_SCHEME
The context property for scheme or protocol.
See Also:
Constant Field Values

PROPERTY_PORT

public static final java.lang.String PROPERTY_PORT
The context property for port.
See Also:
Constant Field Values

PROPERTY_PATH

public static final java.lang.String PROPERTY_PATH
The context property for context path.
See Also:
Constant Field Values

PROPERTY_PASSWORD

public static final java.lang.String PROPERTY_PASSWORD
The context property for password.
See Also:
Constant Field Values

PROPERTY_HTTP_SERVLET_REQUEST

public static final java.lang.String PROPERTY_HTTP_SERVLET_REQUEST
The context property for HttpServletRequest.
See Also:
Constant Field Values

PROPERTY_CLIENT_FILTERS

public static final java.lang.String PROPERTY_CLIENT_FILTERS
The context property for filters (e.g. logging).
See Also:
Constant Field Values

PROPERTY_HEADER_CONTENT_TYPE

public static final java.lang.String PROPERTY_HEADER_CONTENT_TYPE
The context property for content-type header.
See Also:
Constant Field Values

PROPERTY_HEADER_ACCEPT

public static final java.lang.String PROPERTY_HEADER_ACCEPT
The context property for accept header.
See Also:
Constant Field Values

CONTENT_TYPE_XML

public static final java.lang.String CONTENT_TYPE_XML
Specifies the content-type to be XML
See Also:
Constant Field Values

CONTENT_TYPE_JSON

public static final java.lang.String CONTENT_TYPE_JSON
Specifies the content-type to be JSON. Limited client-side results in JSON format.
See Also:
Constant Field Values

DEFAULT_CONTENT_TYPE

public static final java.lang.String DEFAULT_CONTENT_TYPE
Sets the default content-type.
See Also:
Constant Field Values

PROPERTY_URL

public static final java.lang.String PROPERTY_URL
For fully qualified urls (not including namespace).
See Also:
Constant Field Values

Constructor Detail

RemoteClientContext

public RemoteClientContext()

Method Detail

getHost

public java.lang.String getHost()
Returns the specified host or IP address.

setHost

public void setHost(java.lang.String host)
Sets the specified hostname or IP address of the conductor.

getScheme

public java.lang.String getScheme()
Returns the scheme or protocol.

setScheme

public void setScheme(java.lang.String scheme)
Sets the scheme or protocol.

setPath

public void setPath(java.lang.String path)
Sets the path to the resourceIndex for the conductor.

getPath

public java.lang.String getPath()
Returns the path to the resourceIndex for the conductor.

setUrl

public void setUrl(java.lang.String url)
Sets the URL for the conductor service. This takes precedence over scheme, host, port and path.

getUrl

public java.lang.String getUrl()
Returns the specified url to the conductor service.

getPort

public java.lang.Integer getPort()
Returns the specified port.

setPort

public void setPort(int port)
Sets the port to the conductor service.

setUsername

public void setUsername(java.lang.String username)
Sets the username.

getUsername

public java.lang.String getUsername()
Returns the current username.

setPassword

public void setPassword(java.lang.String password)
Sets the user's password.

getPassword

public java.lang.String getPassword()
Returns the current user's password, if specified.

getProjection

public ClientContext.Projection getProjection()
Returns the project associated with the current request.
Overrides:
getProjection in class ClientContext

setProjection

public void setProjection(ClientContext.Projection projection)
Sets the projection for this client context.
Overrides:
setProjection in class ClientContext

addFilter

public void addFilter(ClientFilter logFilter)
Adds a filter to this client context (e.g. logging).

getFilters

public java.util.List<ClientFilter> getFilters()
Returns the specified collection of client filters.

setContentType

public void setContentType(java.lang.String contentType)
Sets the content type.

getContentType

public java.lang.String getContentType()
Returns the current content-type. If not specified, the default will be returned.

getAcceptType

public java.lang.String getAcceptType()
Sets the accept header. If not specified, the default content-type will be returned.

setAcceptType

public void setAcceptType(java.lang.String acceptType)
Sets the value for the accept header.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.