Interface RoRequest
-
- All Known Implementing Classes:
Request
public interface RoRequestThis 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-3 06/05/2001
- Author:
- Ronald Tschal�r
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowUI()HTTPConnectiongetConnection()byte[]getData()NVPair[]getHeaders()StringgetMethod()StringgetRequestURI()HttpOutputStreamgetStream()
-
-
-
Method Detail
-
getConnection
HTTPConnection getConnection()
- Returns:
- the HTTPConnection this request is associated with
-
getMethod
String getMethod()
- Returns:
- the request method
-
getRequestURI
String getRequestURI()
- Returns:
- the request-uri
-
getHeaders
NVPair[] getHeaders()
- Returns:
- the headers making up this request
-
getData
byte[] getData()
- Returns:
- the body of this request
-
getStream
HttpOutputStream getStream()
- Returns:
- the output stream on which the body is written
-
allowUI
boolean allowUI()
- Returns:
- true if the modules or handlers for this request may popup windows or otherwise interact with the user
-
-