|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequest
Defines an object to provide client request.
Field Summary | |
---|---|
static java.lang.String |
PROP_AUTHENTICATION_TYPE
the property name for the authentication type. |
static java.lang.String |
PROP_COOKIE
the property name for cookies. |
static java.lang.String |
PROP_REMOTE_ADDRESS
the property name for the remote host address. |
static java.lang.String |
PROP_REMOTE_HOST
the property name for the remote hostname. |
static java.lang.String |
PROP_REMOTE_USER
the property name for the remote user. |
static java.lang.String |
PROP_URI
the property name for request uri. |
Method Summary | |
---|---|
void |
close()
Notifies that processing is finished. |
java.io.InputStream |
getInputStream()
Retrieves the binary data of the request as InputStream . |
java.util.Hashtable<java.lang.String,java.lang.Object> |
getProperties()
Returns properties from the request. |
java.lang.Object |
getProperty(java.lang.String pKey)
Gets the value of a request property. |
boolean |
isClosed()
Gets whether the request was closed. |
Field Detail |
---|
static final java.lang.String PROP_AUTHENTICATION_TYPE
static final java.lang.String PROP_REMOTE_ADDRESS
static final java.lang.String PROP_REMOTE_HOST
static final java.lang.String PROP_REMOTE_USER
static final java.lang.String PROP_COOKIE
static final java.lang.String PROP_URI
Method Detail |
---|
java.io.InputStream getInputStream() throws java.io.IOException
InputStream
.
InputStream
containing the request
java.io.IOException
- if an input or output exception occurredjava.lang.Object getProperty(java.lang.String pKey)
pKey
- the property name
null
if the property is not availablejava.util.Hashtable<java.lang.String,java.lang.Object> getProperties()
void close()
boolean isClosed()
true
if request was closed, false
if still open
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |