com.ibm.websphere.http.selectors
Class HTTPFunctionSelector
- java.lang.Object
com.ibm.websphere.http.selectors.HTTPFunctionSelector
All implemented interfaces:
commonj.connector.runtime.BindingContext, commonj.connector.runtime.FunctionSelector, java.io.Serializable
- public abstract class HTTPFunctionSelector
- extends java.lang.Object
- implements commonj.connector.runtime.FunctionSelector, commonj.connector.runtime.BindingContext
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Fields inherited from interface commonj.connector.runtime.BindingContext |
---|
BINDING_COMMUNICATION, BINDING_COMMUNICATION_INBOUND, BINDING_COMMUNICATION_OUTBOUND, BINDING_CONFIGURATION, BINDING_INVOCATION, BINDING_INVOCATION_FAULT, BINDING_INVOCATION_REQUEST, BINDING_INVOCATION_RESPONSE, BINDING_NAME, BINDING_REGISTRY, BINDING_TYPE, BINDING_TYPE_EIS, BINDING_TYPE_HTTP, BINDING_TYPE_JMS, EXPECTED_TYPE, INTERACTION_SPEC |
Constructor Summary
Constructor and Description |
---|
HTTPFunctionSelector()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
generateEISFunctionName(HTTPControl cp,HTTPHeaders headers,HTTPInputStream input)
A more descriptive HTTP-specific method to extract a native method name using the FunctionSelector interface.
|
|
generateEISFunctionName(java.lang.Object[] args)
Unmarshalls parameters and calls an overloaded generateEISFunctionName() method
with a more intuitive argument list: HTTPControl, HTTPHeaders, and HTTPInputStream.
|
|
setBindingContext(java.util.Map bindingContext)
Set Binding Context on the Data Binding.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
HTTPFunctionSelector
- public HTTPFunctionSelector()
Method Detail
generateEISFunctionName
- public final java.lang.String generateEISFunctionName( java.lang.Object[] args)
- throws commonj.connector.runtime.SelectorException
Unmarshalls parameters and calls an overloaded generateEISFunctionName() method
with a more intuitive argument list: HTTPControl, HTTPHeaders, and HTTPInputStream.
Specified by:
generateEISFunctionName
in interface commonj.connector.runtime.FunctionSelector
Parameters:
args
- HTTP binding objects. args[0] is instance of HTTPControl, args[1] is instance of HTTPHeaders, arg[2] is instance of HTTPInputStream. Returns:
The native method name
Throws:
commonj.connector.runtime.SelectorException
- Thrown if input is invalid or native method cannot be determined generateEISFunctionName
- public abstract java.lang.String generateEISFunctionName( HTTPControl cp,
- HTTPHeaders headers,
- HTTPInputStream input)
- throws commonj.connector.runtime.SelectorException
A more descriptive HTTP-specific method to extract a native method name using the FunctionSelector interface.
Implement this method to provide a native function name from the contents of a HTTP message by extracting the relevant data from the provided HTTP-centric parameters.
Parameters:
cp
- control parameters containing addition http header values headers
- http headers input
- HTTP input stream containing the http entity body, if any Returns:
The native method name
Throws:
commonj.connector.runtime.SelectorException
- Thrown if input is invalid or native method cannot be determined setBindingContext
- public void setBindingContext(java.util.Map bindingContext)
Set Binding Context on the Data Binding.
Specified by:
setBindingContext
in interface commonj.connector.runtime.BindingContext
Parameters:
bindingContext
- Binding Context.