xsul.http_server.impl
Class HttpServerRequestImpl

java.lang.Object
  extended byxsul.http_server.impl.HttpServerRequestImpl
All Implemented Interfaces:
HttpServerRequest

public class HttpServerRequestImpl
extends java.lang.Object
implements HttpServerRequest

Base exception thrown by all HTTP server side operations.

Version:
$Revision: 1.8 $
Author:
Aleksander Slominski

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()
           
 boolean isKeepAlive()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface HttpServerRequest

getCharset

public java.lang.String getCharset()
Specified by:
getCharset in interface HttpServerRequest

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface HttpServerRequest

isKeepAlive

public boolean isKeepAlive()
Specified by:
isKeepAlive in interface HttpServerRequest

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface HttpServerRequest

getPath

public java.lang.String getPath()
Specified by:
getPath in interface HttpServerRequest

getHeaderCount

public int getHeaderCount()
                   throws HttpServerException
Specified by:
getHeaderCount in interface HttpServerRequest
Throws:
HttpServerException

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

getHeaderNames

public java.util.Enumeration getHeaderNames()
                                     throws HttpServerException
Specified by:
getHeaderNames in interface HttpServerRequest
Throws:
HttpServerException


IU Extreme! Lab (http://www.extreme.indiana.edu)