IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.channel
Interface ChannelResponse

All Known Implementing Classes:
HttpChannelResponse, JavaAssignChannelResponse, JavaProtocolChannelResponse, JSONHttpChannelResponse, XmlHttpChannelResponse

public interface ChannelResponse


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void addCookie(java.lang.String name, java.lang.String value)
           
 java.lang.String getCharacterEncoding()
           
 java.io.OutputStream getOutputStream()
           
 java.lang.Object getResponse()
           
 void handleServerException(ChannelContext channelContext, java.lang.Exception e)
           
 void sendResult(ChannelContext channelContext, java.lang.String result)
           
 void setCharacterEncoding(java.lang.String encoding)
           
 void setContentLength(int length)
           
 void setContentType(java.lang.String contentType)
           
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

handleServerException

void handleServerException(ChannelContext channelContext,
                           java.lang.Exception e)
                           throws java.lang.Exception
Throws:
java.lang.Exception

sendResult

void sendResult(ChannelContext channelContext,
                java.lang.String result)
                throws java.lang.Exception
Throws:
java.lang.Exception

getCharacterEncoding

java.lang.String getCharacterEncoding()

setCharacterEncoding

void setCharacterEncoding(java.lang.String encoding)
                          throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getResponse

java.lang.Object getResponse()

setContentType

void setContentType(java.lang.String contentType)

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Throws:
java.io.IOException

setContentLength

void setContentLength(int length)

addCookie

void addCookie(java.lang.String name,
               java.lang.String value)

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008