IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.http
Class XmlHttpChannelResponse

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

public class XmlHttpChannelResponse
extends HttpChannelResponse

The channel response used to wrap the HttpServletResponse. This is used in XmlRequestServlet


Field Summary
 
Fields inherited from class com.ibm.btt.http.HttpChannelResponse
response
 
Constructor Summary
XmlHttpChannelResponse(javax.servlet.http.HttpServletResponse response)
          Construct the XmlHttpChannelResponse object
 
Method Summary
 void sendResult(ChannelContext channelContext, java.lang.String result)
          Send the result back to the client
 
Methods inherited from class com.ibm.btt.http.HttpChannelResponse
addCookie, getCharacterEncoding, getOutputStream, getResponse, handleServerException, setCharacterEncoding, setContentLength, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHttpChannelResponse

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

Parameters:
response - the HttpServletResponse object
Method Detail

sendResult

public void sendResult(ChannelContext channelContext,
                       java.lang.String result)
                throws java.lang.Exception
Send the result back to the client

Specified by:
sendResult in interface ChannelResponse
Overrides:
sendResult in class HttpChannelResponse
Parameters:
channelContext - the channel context object
result - the result send back to the client
Throws:
java.lang.Exception

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010