public abstract class HTTPFunctionSelector
extends java.lang.Object
implements commonj.connector.runtime.FunctionSelector, commonj.connector.runtime.BindingContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
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 and Description |
---|
HTTPFunctionSelector() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
generateEISFunctionName(HTTPControl cp,
HTTPHeaders headers,
HTTPInputStream input)
A more descriptive HTTP-specific method to extract a native method name using the FunctionSelector interface.
|
java.lang.String |
generateEISFunctionName(java.lang.Object[] args)
Unmarshalls parameters and calls an overloaded generateEISFunctionName() method
with a more intuitive argument list: HTTPControl, HTTPHeaders, and HTTPInputStream.
|
void |
setBindingContext(java.util.Map bindingContext)
Set Binding Context on the Data Binding.
|
public static final java.lang.String COPYRIGHT
public final java.lang.String generateEISFunctionName(java.lang.Object[] args) throws commonj.connector.runtime.SelectorException
generateEISFunctionName
in interface commonj.connector.runtime.FunctionSelector
args
- HTTP binding objects. args[0] is instance of HTTPControl, args[1] is instance of HTTPHeaders, arg[2] is instance of HTTPInputStream.commonj.connector.runtime.SelectorException
- Thrown if input is invalid or native method cannot be determinedpublic abstract java.lang.String generateEISFunctionName(HTTPControl cp, HTTPHeaders headers, HTTPInputStream input) throws commonj.connector.runtime.SelectorException
cp
- control parameters containing addition http header valuesheaders
- http headersinput
- HTTP input stream containing the http entity body, if anycommonj.connector.runtime.SelectorException
- Thrown if input is invalid or native method cannot be determinedpublic void setBindingContext(java.util.Map bindingContext)
setBindingContext
in interface commonj.connector.runtime.BindingContext
bindingContext
- Binding Context.