Skip navigation links
oracle.stellent.wcm.common.http
Class HttpWebInputStream
java.lang.Object
oracle.stellent.wcm.common.http.HttpWebInputStream
- All Implemented Interfaces:
- IWebInputStream
-
public class HttpWebInputStream
- extends java.lang.Object
- implements IWebInputStream
Field Summary |
protected javax.servlet.http.HttpServletRequest |
m_request
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_request
protected javax.servlet.http.HttpServletRequest m_request
HttpWebInputStream
public HttpWebInputStream(javax.servlet.http.HttpServletRequest request)
getServletInputStream
public javax.servlet.ServletInputStream getServletInputStream()
throws java.io.IOException
-
- Specified by:
getServletInputStream
in interface IWebInputStream
-
- Returns:
- the servlet inputstream
- Throws:
java.io.IOException
getContentType
public java.lang.String getContentType()
-
- Specified by:
getContentType
in interface IWebInputStream
-
- Returns:
- the content type for the input stream
getContentLength
public int getContentLength()
-
- Specified by:
getContentLength
in interface IWebInputStream
-
- Returns:
- the content length
getCharacterEncoding
public java.lang.String getCharacterEncoding()
-
- Specified by:
getCharacterEncoding
in interface IWebInputStream
-
- Returns:
- the character encoding
getHeader
public java.lang.String getHeader(java.lang.String header)
-
- Specified by:
getHeader
in interface IWebInputStream
-
- Parameters:
header
- the header to retrieve
- Returns:
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.