com.sibvisions.rad.server
Interface IRequest


public interface IRequest

Defines an object to provide client request.


Field Summary
static String PROP_AUTHENTICATION_TYPE
          the property name for the authentication type.
static String PROP_COOKIE
          the property name for cookies.
static String PROP_REMOTE_ADDRESS
          the property name for the remote host address.
static String PROP_REMOTE_HOST
          the property name for the remote hostname.
static String PROP_REMOTE_USER
          the property name for the remote user.
static String PROP_URI
          the property name for request uri.
 
Method Summary
 void close()
          Notifies that processing is finished.
 InputStream getInputStream()
          Retrieves the binary data of the request as InputStream.
 Hashtable<String,Object> getProperties()
          Returns properties from the request.
 Object getProperty(String pKey)
          Gets the value of a request property.
 

Field Detail

PROP_AUTHENTICATION_TYPE

static final String PROP_AUTHENTICATION_TYPE
the property name for the authentication type.

See Also:
Constant Field Values

PROP_REMOTE_ADDRESS

static final String PROP_REMOTE_ADDRESS
the property name for the remote host address.

See Also:
Constant Field Values

PROP_REMOTE_HOST

static final String PROP_REMOTE_HOST
the property name for the remote hostname.

See Also:
Constant Field Values

PROP_REMOTE_USER

static final String PROP_REMOTE_USER
the property name for the remote user.

See Also:
Constant Field Values

PROP_COOKIE

static final String PROP_COOKIE
the property name for cookies.

See Also:
Constant Field Values

PROP_URI

static final String PROP_URI
the property name for request uri.

See Also:
Constant Field Values
Method Detail

getInputStream

InputStream getInputStream()
                           throws IOException
Retrieves the binary data of the request as InputStream.

Returns:
a InputStream containing the request
Throws:
IOException - if an input or output exception occurred

getProperty

Object getProperty(String pKey)
Gets the value of a request property.

Parameters:
pKey - the property name
Returns:
the value or null if the property is not available

getProperties

Hashtable<String,Object> getProperties()
Returns properties from the request.

Returns:
the access properties or null if there are no acces properties

close

void close()
Notifies that processing is finished.



Copyright © 2009 SIB Visions GmbH. All Rights Reserved.