IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.http
Class WebChannelContext

java.lang.Object
  extended by com.ibm.btt.channel.ChannelContextContainer
      extended by com.ibm.btt.http.WebChannelContext
All Implemented Interfaces:
java.io.Serializable

public class WebChannelContext
extends ChannelContextContainer

The thread local container can be used in the operation to get the HttpServletRequest and HttpServletResponse

See Also:
Serialized Form

Constructor Summary
WebChannelContext()
           
 
Method Summary
static javax.servlet.http.HttpServletRequest getHttpServletRequest()
          Returns the channel request specific to the current thread.
static javax.servlet.http.HttpServletResponse getHttpServletResponse()
          Returns the channel response specific to the current thread.
 
Methods inherited from class com.ibm.btt.channel.ChannelContextContainer
getChannelRequest, getChannelResponse, getChannelSession, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebChannelContext

public WebChannelContext()
Method Detail

getHttpServletRequest

public static javax.servlet.http.HttpServletRequest getHttpServletRequest()
Returns the channel request specific to the current thread.

Returns:
the channel request for the current thread, is never null

getHttpServletResponse

public static javax.servlet.http.HttpServletResponse getHttpServletResponse()
Returns the channel response specific to the current thread.

Returns:
the channel response for the current thread, is never null

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009