|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTTPStreamDataBinding
A DataBinding maps between a native data format and an SDO DataObject, and vice-versa. This interface is an extension of commonj.connector.runtime.DataBinding, and presents a HTTP-specific view which should be implemented for use in HTTP Binding Exports and Imports.
HTTP Binding will invoke Data Binding in the following order:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
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. |
Methods inherited from interface commonj.connector.runtime.DataBinding |
---|
getDataObject, setDataObject |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
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 stream
commonj.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 stream
java.io.IOException
void setBusinessException(boolean isBusinessException)
isBusinessException
- True or false, specified by the callerboolean isBusinessException()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |