public interface IServerBridgeRequest
Modifier and Type | Method and Description |
---|---|
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()
Deprecated.
This method will be removed.
|
de.uplanet.lucy.server.connector.IUploadFiles |
getUploadFiles()
Get the files that were uploaded with this request.
|
boolean |
hasUploadFiles()
Check if files were uploaded with this 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_strValue)
Set a request variable.
|
void |
remove(java.lang.String p_strKey)
Remove the specified variable from the request.
|
void |
setHttpBody(byte[] p_buf)
Deprecated.
This method will be removed.
|
int |
size() |
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_strValue)
p_strKey
- The name of the request variable.p_strValue
- 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()
@Deprecated 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.@Deprecated void setHttpBody(byte[] p_buf)
p_buf
- The HTTP body data.boolean hasUploadFiles()
true
if files were uploaded with this request,
or false
otherwise.de.uplanet.lucy.server.connector.IUploadFiles getUploadFiles()
null
.