org.apache.commons.messagelet.impl
Class MessageletRequestImpl

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by org.apache.commons.messagelet.impl.MessageletRequestImpl
All Implemented Interfaces:
javax.servlet.ServletRequest, MessageletRequest

public class MessageletRequestImpl
extends javax.servlet.ServletRequestWrapper
implements MessageletRequest

MessageletRequestImpl represents a servlet request from a JMS Message source.

Version:
$Revision: 155459 $
Author:
James Strachan

Constructor Summary
MessageletRequestImpl(javax.servlet.ServletRequest request)
           
 
Method Summary
protected  javax.servlet.ServletInputStream createInputStream()
           
 javax.servlet.ServletInputStream getInputStream()
           
 javax.jms.Message getMessage()
           
 BufferedReader getReader()
           
 void setMessage(javax.jms.Message message)
           
 void setMessenger(Messenger messenger)
           
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

MessageletRequestImpl

public MessageletRequestImpl(javax.servlet.ServletRequest request)
Method Detail

setMessage

public void setMessage(javax.jms.Message message)
                throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setMessenger

public void setMessenger(Messenger messenger)

getMessage

public javax.jms.Message getMessage()
Specified by:
getMessage in interface MessageletRequest
Returns:
the Message which originated this request

getInputStream

public javax.servlet.ServletInputStream getInputStream()
Specified by:
getInputStream in interface javax.servlet.ServletRequest
Overrides:
getInputStream in class javax.servlet.ServletRequestWrapper

getReader

public BufferedReader getReader()
Specified by:
getReader in interface javax.servlet.ServletRequest
Overrides:
getReader in class javax.servlet.ServletRequestWrapper

createInputStream

protected javax.servlet.ServletInputStream createInputStream()
                                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.