All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class calypso.core.httpserver.HttpRequest

java.lang.Object
   |
   +----calypso.core.httpserver.HttpMessage
           |
           +----calypso.core.httpserver.HttpRequest

class HttpRequest
extends HttpMessage
implements HttpServletRequest
Representation of an HTTP request. This class provides means to read a new request and to query the parameters and header fields of that request. The user of this class creates an HttpRequest object and then initializes it by givin the socket, from which the request can be read, to the init-method. New requests can be read over and over again by calling init again. This approach has been chosen instead of creating a new request object for each request to optimize the performance of the system - object creation takes quite a bit more time compared to just initializing the old object with new data.

This class implements the HttpServletRequest interface. Most of the operations that can be applied to objects of this class are explained in the documentation of that interface.

Version:
1.0
Author:
Juha Pääjärvi / TCM laboratory / Helsinki Univ. of Tech.
See Also:
HttpServletRequest, HttpResponse

This class is not public and therefore cannot be used outside this package.


All Packages  Class Hierarchy  This Package  Previous  Next  Index