Package de.uplanet.lucy.server.connector
Interface IServerBridgeRequest
-
- All Known Implementing Classes:
de.uplanet.lucy.server.connector.AbstractGroovyServerBridgeRequest
,GroovyServerBridgeRequest
public interface IServerBridgeRequest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsKey(String p_strKey)
Test if the request contains the specified variable.IServerBridgeRequest
createCopy()
Deprecated.This method will be removed in future versions of Intrexx.String
get(String p_strKey)
Get a request variable.String
get(String p_strKey, String p_strFallback)
Get a request variable.Set<Map.Entry<String,String>>
getEntrySet()
Get an unmodifiable set that contains all request variables.byte[]
getHttpBody()
Deprecated.This method does not work.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()
Deprecated.This method will be removed in future versions of Intrexx.void
pushVariables()
Deprecated.This method will be removed in future versions of Intrexx.void
put(String p_strKey, String p_strValue)
Deprecated.This method will be removed in future versions of Intrexx.void
remove(String p_strKey)
Deprecated.This method will be removed in future versions of Intrexx.void
setHttpBody(byte[] p_buf)
Deprecated.This method does not work.int
size()
Deprecated.Do not use this method.
-
-
-
Method Detail
-
get
String get(String p_strKey)
Get a request variable.- Parameters:
p_strKey
- The key.- Returns:
- The value that is referenced by
p_strKey
, ornull
if there is no such request variable.
-
get
String get(String p_strKey, String p_strFallback)
Get a request variable.- Parameters:
p_strKey
- The key.p_strFallback
- The fallback value.- Returns:
- The value that is referenced by
p_strKey
, orp_objFallback
if there is no such request variable.
-
put
@Deprecated void put(String p_strKey, String p_strValue)
Deprecated.This method will be removed in future versions of Intrexx.Set a request variable.- Parameters:
p_strKey
- The name of the request variable.p_strValue
- The value of the request variable.
-
remove
@Deprecated void remove(String p_strKey)
Deprecated.This method will be removed in future versions of Intrexx.Remove the specified variable from the request.- Parameters:
p_strKey
- The name of the variable to remove.
-
containsKey
boolean containsKey(String p_strKey)
Test if the request contains the specified variable.- Parameters:
p_strKey
- The name of the variable.- Returns:
true
if the request contains the specified variable.
-
getEntrySet
Set<Map.Entry<String,String>> getEntrySet()
Get an unmodifiable set that contains all request variables.- Returns:
- A set containing
Map.Entry
s that contain requests variable name-value-pairs.
-
pushVariables
@Deprecated void pushVariables()
Deprecated.This method will be removed in future versions of Intrexx.Push request variables on the stack.
-
popVariables
@Deprecated void popVariables()
Deprecated.This method will be removed in future versions of Intrexx.Pop request variables from the stack.
-
createCopy
@Deprecated IServerBridgeRequest createCopy()
Deprecated.This method will be removed in future versions of Intrexx.Create a copy of the topmost state of this request.The request created will have an empty stack.
- Returns:
- The copy.
-
size
@Deprecated int size()
Deprecated.Do not use this method.- Returns:
- Returns the number of request parameters in this request.
-
getHttpBody
@Deprecated byte[] getHttpBody()
Deprecated.This method does not work.This method was experimental only.
-
setHttpBody
@Deprecated void setHttpBody(byte[] p_buf)
Deprecated.This method does not work.This method was experimental only.
-
hasUploadFiles
boolean hasUploadFiles()
Check if files were uploaded with this request.- Returns:
true
if files were uploaded with this request, orfalse
otherwise.
-
getUploadFiles
de.uplanet.lucy.server.connector.IUploadFiles getUploadFiles()
Get the files that were uploaded with this request.- Returns:
- The files that were uploaded with this request, or
null
.
-
-