|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerBridgeRequest
Method Summary | |
---|---|
boolean |
containsKey(java.lang.String p_strKey)
Test if the request contains the specified variable. |
IServerBridgeRequest |
createCopy()
Create a copy of the topmost state of this request. |
java.lang.String |
get(java.lang.String p_strKey)
Get a request variable. |
java.lang.String |
get(java.lang.String p_strKey,
java.lang.String p_strFallback)
Get a request variable. |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getEntrySet()
Get an unmodifiable set that contains all request variables. |
byte[] |
getHttpBody()
Get the HTTP body of the request. |
void |
popVariables()
Pop request variables from the stack. |
void |
pushVariables()
Push request variables on the stack. |
void |
put(java.lang.String p_strKey,
java.lang.String p_value)
Set a request variable. |
void |
remove(java.lang.String p_strKey)
Remove the specified variable from the request. |
void |
setHttpBody(byte[] p_buf)
Set the HTTP body of the request. |
int |
size()
|
Method Detail |
---|
java.lang.String get(java.lang.String p_strKey)
p_strKey
- The key.
p_strKey
,
or null
if there is no such request variable.java.lang.String get(java.lang.String p_strKey, java.lang.String p_strFallback)
p_strKey
- The key.p_strFallback
- The fallback value.
p_strKey
, or
p_objFallback
if there is no such request variable.void put(java.lang.String p_strKey, java.lang.String p_value)
p_strKey
- The name of the request variable.p_value
- The value of the request variable.void remove(java.lang.String p_strKey)
p_strKey
- The name of the variable to remove.boolean containsKey(java.lang.String p_strKey)
p_strKey
- The name of the variable.
true
if the request contains the specified variable.java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> getEntrySet()
Map.Entry
s that contain
requests variable name-value-pairs.void pushVariables()
void popVariables()
IServerBridgeRequest createCopy()
The request created will have an empty stack.
int size()
byte[] getHttpBody()
Note: A call to this method does not create a copy of the data but returns a reference to the data instead. For this reason the caller must not modify the array returned.
null
if the data are not available.void setHttpBody(byte[] p_buf)
p_buf
- The HTTP body data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |