xsul.den.v1
Class BytesHttpServerRequestImpl

java.lang.Object
  extended byxsul.den.v1.BytesHttpServerRequestImpl
All Implemented Interfaces:
HttpServerRequest

public class BytesHttpServerRequestImpl
extends java.lang.Object
implements HttpServerRequest


Constructor Summary
BytesHttpServerRequestImpl(HttpServerRequest hsr)
           
 
Method Summary
 java.lang.String getCharset()
           
 java.lang.String getContentType()
           
 java.lang.String getHeader(java.lang.String name)
          Return value of header with given name or null if such header does not exist.
 int getHeaderCount()
           
 java.util.Enumeration getHeaderNames()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getMethod()
           
 java.lang.String getPath()
           
 java.net.InetAddress getRemotInetAddr()
           
 byte[] getRequestBytes()
           
 boolean isKeepAlive()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytesHttpServerRequestImpl

public BytesHttpServerRequestImpl(HttpServerRequest hsr)
Method Detail

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)