IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.http
Class JavaProtocolChannelResponse

java.lang.Object
  extended by com.ibm.btt.http.HttpChannelResponse
      extended by com.ibm.btt.http.JavaProtocolChannelResponse
All Implemented Interfaces:
ChannelResponse

public class JavaProtocolChannelResponse
extends HttpChannelResponse

The channel response used to wrap the HttpServletResponse. This response used by CSReqProtocolServlet


Field Summary
 
Fields inherited from class com.ibm.btt.http.HttpChannelResponse
response
 
Constructor Summary
JavaProtocolChannelResponse(javax.servlet.http.HttpServletResponse response)
          Construct the JavaProtocolChannelResponse object
 
Method Summary
 void handleServerException(ChannelContext channelContext, java.lang.Exception e)
          Convenience method to ensure that a response is returned to the client for the case where no presentation handler exists or because the server is not initialized.
 
Methods inherited from class com.ibm.btt.http.HttpChannelResponse
addCookie, getCharacterEncoding, getOutputStream, getResponse, sendResult, setCharacterEncoding, setContentLength, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaProtocolChannelResponse

public JavaProtocolChannelResponse(javax.servlet.http.HttpServletResponse response)
Construct the JavaProtocolChannelResponse object

Parameters:
response - the HttpServletResponse object
Method Detail

handleServerException

public void handleServerException(ChannelContext channelContext,
                                  java.lang.Exception e)
                           throws java.lang.Exception
Convenience method to ensure that a response is returned to the client for the case where no presentation handler exists or because the server is not initialized. This implementation is trying to reply to an Web client.

Specified by:
handleServerException in interface ChannelResponse
Overrides:
handleServerException in class HttpChannelResponse
Parameters:
e - exception object
Throws:
java.lang.Exception - The exception description.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009