Package org.gatein.pc.portlet.impl.spi
Class AbstractRequestContext
- java.lang.Object
-
- org.gatein.pc.portlet.impl.spi.AbstractRequestContext
-
- All Implemented Interfaces:
org.gatein.pc.api.spi.RequestContext
public class AbstractRequestContext extends Object implements org.gatein.pc.api.spi.RequestContext
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description AbstractRequestContext(javax.servlet.http.HttpServletRequest clientRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharacterEncoding()intgetContentLength()StringgetContentType()InputStreamgetInputStream()BufferedReadergetReader()
-
-
-
Method Detail
-
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncodingin interfaceorg.gatein.pc.api.spi.RequestContext
-
getReader
public BufferedReader getReader() throws IOException
- Specified by:
getReaderin interfaceorg.gatein.pc.api.spi.RequestContext- Throws:
IOException
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfaceorg.gatein.pc.api.spi.RequestContext- Throws:
IOException
-
getContentLength
public int getContentLength()
- Specified by:
getContentLengthin interfaceorg.gatein.pc.api.spi.RequestContext
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceorg.gatein.pc.api.spi.RequestContext
-
-