|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface defining a RequestContext. A RequestContext is available in all new traffic paths for application facing and network facing requests.
Method Summary | |
Object |
get(String key) Fetches the value associated with this key. |
String |
getCurrentAppAccountId() |
String |
getCurrentAppInstanceGroupId() |
String |
getCurrentSessionId() |
String |
getCurrentSpAccountId() |
String |
getCurrentSpGroup() |
Object |
getEdr(String key) Fetches the value associated with this key only if it is available to EDRs. |
Map |
getMap() Returns the map of the request context. |
Map |
getMapEdr() Returns the map of the request context that is available to EDRs. |
Serializable |
getRmiGlobally(String key) |
String |
getTransactionId() |
String |
getXParam(String key) Fetches the String associated with this key. |
Map |
getXParamMap() |
void |
put(Map value) Puts a map in the request context. |
void |
put(String key, Object value) Associates a value with a key in the request context. |
void |
putEdr(Map value) Puts a map in the request context. |
void |
putEdr(String key, Object value) Associates a value with a key in the request context. |
void |
putRmiGlobally(String key, Serializable value) |
void |
putXParam(String key, String value) Allows adding params to the SOAP Header being sent to the application. |
void |
setCurrentSessionId(String sessionId) |
void |
setTransactionId(String id) Deprecated. |
Method Detail |
public Object get(String key)
key
- The key.public String getCurrentAppAccountId()
public String getCurrentAppInstanceGroupId()
public String getCurrentSessionId()
public String getCurrentSpAccountId()
public String getCurrentSpGroup()
public Object getEdr(String key)
key
- The key.public Map getMap()
public Map getMapEdr()
public Serializable getRmiGlobally(String key)
public String getTransactionId()
public String getXParam(String key)
<soapenv:Header> ... <xparams>
</xparams> </soapenv:Header>The value "1" can be retrieved using
getXParam("a");
. If the value does not exist, null will be returned.key
- The key.public Map getXParamMap()
putXParam(String, String)
, separate from the values available via getXParam(String)
.public void put(Map value)
value
- The map to put in the request context.public void put(String key, Object value)
key
- The key.value
- The value to associate with the key.public void putEdr(Map value)
value
- The map to put in the request context.public void putEdr(String key, Object value)
key
- The key.value
- The value to associate with the key.public void putRmiGlobally(String key, Serializable value)
public void putXParam(String key, String value)
public void setCurrentSessionId(String sessionId)
public void setTransactionId(String id)
|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |