IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.rest
Class RestChannelResponse

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

public class RestChannelResponse
extends HttpChannelResponse


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

RestChannelResponse

public RestChannelResponse(javax.servlet.http.HttpServletResponse response)
Method Detail

handleServerException

public void handleServerException(ChannelContext channelContext,
                                  java.lang.Exception e)
                           throws java.lang.Exception
Description copied from class: HttpChannelResponse
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
e - exception object
Throws:
java.lang.Exception - The exception description.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011