xsul.http_server
Interface HttpServerRequest

All Known Implementing Classes:
BytesHttpServerRequestImpl, HttpServerRequestImpl

public interface HttpServerRequest

Base exception thrown by all HTTP server side operations.

Version:
$Revision: 1.4 $
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()
           
 

Method Detail

getInputStream

public java.io.InputStream getInputStream()

getCharset

public java.lang.String getCharset()

getContentType

public java.lang.String getContentType()

isKeepAlive

public boolean isKeepAlive()

getMethod

public java.lang.String getMethod()

getPath

public java.lang.String getPath()

getHeaderCount

public int getHeaderCount()
                   throws HttpServerException
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.

Throws:
HttpServerException

getHeaderNames

public java.util.Enumeration getHeaderNames()
                                     throws HttpServerException
Throws:
HttpServerException


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