Package org.cometd.oort
Class OortService.Request
- java.lang.Object
-
- org.cometd.oort.OortService.Request
-
- Enclosing class:
- OortService<R,C>
public static class OortService.Request extends java.lang.Object
Encapsulates a forwarded request.- See Also:
OortService.onForward(Request)
,OortService.Result
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getData()
java.util.Map<java.lang.String,java.lang.Object>
getDataAsMap()
java.lang.String
getOortURL()
boolean
isLocal()
-
-
-
Method Detail
-
getData
public java.lang.Object getData()
- Returns:
- the request data
-
getDataAsMap
public java.util.Map<java.lang.String,java.lang.Object> getDataAsMap()
- Returns:
- the request data as a
Map<String, Object>
-
getOortURL
public java.lang.String getOortURL()
- Returns:
- the Oort URL of the requesting node
-
isLocal
public boolean isLocal()
- Returns:
- whether the request is local to the current Oort node
-
-