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
|
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
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)
(c) Copyright IBM Corporation 1998, 2008