All Packages Class Hierarchy This Package Previous Next Index
Interface HTTPClient.RoRequest
- public interface RoRequest
This interface represents the read-only interface of an http request.
It is the compile-time type passed to various handlers which might
need the request info but musn't modify the request.
- Version:
- 0.3 30/01/1998
- Author:
- Ronald Tschalär
-
allowUI()
-
-
getConnection()
-
-
getData()
-
-
getHeaders()
-
-
getMethod()
-
-
getRequestURI()
-
-
getStream()
-
getConnection
public abstract HTTPConnection getConnection()
- Returns:
- the HTTPConnection this request is associated with
getMethod
public abstract String getMethod()
- Returns:
- the request method
getRequestURI
public abstract String getRequestURI()
- Returns:
- the request-uri
getHeaders
public abstract NVPair[] getHeaders()
- Returns:
- the headers making up this request
getData
public abstract byte[] getData()
- Returns:
- the body of this request
getStream
public abstract HttpOutputStream getStream()
- Returns:
- the output stream on which the body is written
allowUI
public abstract boolean allowUI()
- Returns:
- true if the modules or handlers for this request may popup
windows or otherwise interact with the user
All Packages Class Hierarchy This Package Previous Next Index