public interface HTTPStreamDataBinding
extends commonj.connector.runtime.DataBinding
HTTP Binding will invoke Data Binding in the following order:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
void |
convertFromNativeData(HTTPInputStream input)
Convert native data to SDO.
|
void |
convertToNativeData()
Convert SDO to native data.
|
HTTPControl |
getControlParameters()
Get HTTP control parameters.
|
HTTPHeaders |
getHeaders()
Get HTTP headers.
|
boolean |
isBusinessException()
Determines whether the message is a fault.
|
void |
setBusinessException(boolean isBusinessException)
Indicate to the Data Binding that data is a fault object.
|
void |
setControlParameters(HTTPControl cp)
Set HTTP control parameters.
|
void |
setHeaders(HTTPHeaders headers)
Set HTTP headers.
|
void |
write(HTTPOutputStream output)
Write native data to HTTPOutputStream after it has been converted by convertToNativeData() method.
|
static final java.lang.String COPYRIGHT
HTTPControl getControlParameters()
void setControlParameters(HTTPControl cp)
HTTPControl
- HTTP control parametersHTTPHeaders getHeaders()
void setHeaders(HTTPHeaders headers)
HTTPHeaders
- HTTP headersvoid convertFromNativeData(HTTPInputStream input) throws commonj.connector.runtime.DataBindingException, java.io.IOException
HTTPInputStream
- HTTP input streamcommonj.connector.runtime.DataBindingException,java.io.IOException
- Thrown if error occurs during conversion.commonj.connector.runtime.DataBindingException
java.io.IOException
void convertToNativeData() throws commonj.connector.runtime.DataBindingException
commonj.connector.runtime.DataBindingException
- Thrown if error occurs during conversion.void write(HTTPOutputStream output) throws java.io.IOException
HTTPOutputStream
- HTTP output streamjava.io.IOException
void setBusinessException(boolean isBusinessException)
isBusinessException
- True or false, specified by the callerboolean isBusinessException()