xsul.den.v1
Class BytesHttpServerRequestImpl
java.lang.Object
xsul.den.v1.BytesHttpServerRequestImpl
- All Implemented Interfaces:
- HttpServerRequest
- public class BytesHttpServerRequestImpl
- extends java.lang.Object
- implements HttpServerRequest
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesHttpServerRequestImpl
public BytesHttpServerRequestImpl(HttpServerRequest hsr)
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface HttpServerRequest
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod in interface HttpServerRequest
getHeader
public java.lang.String getHeader(java.lang.String name)
throws HttpServerException
- Return value of header with given name or null if such header does not exist.
- Specified by:
getHeader in interface HttpServerRequest
- Throws:
HttpServerException
getRemotInetAddr
public java.net.InetAddress getRemotInetAddr()
getCharset
public java.lang.String getCharset()
- Specified by:
getCharset in interface HttpServerRequest
getHeaderNames
public java.util.Enumeration getHeaderNames()
throws HttpServerException
- Specified by:
getHeaderNames in interface HttpServerRequest
- Throws:
HttpServerException
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface HttpServerRequest
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream in interface HttpServerRequest
isKeepAlive
public boolean isKeepAlive()
- Specified by:
isKeepAlive in interface HttpServerRequest
getHeaderCount
public int getHeaderCount()
throws HttpServerException
- Specified by:
getHeaderCount in interface HttpServerRequest
- Throws:
HttpServerException
reset
public void reset()
getRequestBytes
public byte[] getRequestBytes()
throws java.io.IOException
- Throws:
java.io.IOException
IU Extreme! Lab (http://www.extreme.indiana.edu)