IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.http
Class JavaAssignChannelResponse

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

public class JavaAssignChannelResponse
extends HttpChannelResponse

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


Field Summary
 
Fields inherited from class com.ibm.btt.http.HttpChannelResponse
response
 
Constructor Summary
JavaAssignChannelResponse(javax.servlet.http.HttpServletResponse response)
          Construct the JavaAssignChannelResponse 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

JavaAssignChannelResponse

public JavaAssignChannelResponse(javax.servlet.http.HttpServletResponse response)
Construct the JavaAssignChannelResponse 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, 2011