|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.core.JBossResponseContext
public class JBossResponseContext
Implementation of the ResponseContext interface
Constructor Summary | |
---|---|
JBossResponseContext()
|
Method Summary | ||
---|---|---|
Element |
asElement(Document root)
Return a new Element given the owner document |
|
|
get(String key)
Get an element from the map |
|
int |
getDecision()
Decision based on the evaluation of policies |
|
Node |
getDocumentElement()
Return the element of the document from where the response was created if available Null if no parsing was involved |
|
ResultType |
getResult()
Get the result |
|
void |
marshall(OutputStream os)
Marshall the response context onto an Output Stream |
|
void |
readResponse(InputStream is)
Read a response from an input stream |
|
void |
readResponse(Node node)
Read a preparsed Node |
|
|
set(String key,
T obj)
Set an object on the map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossResponseContext()
Method Detail |
---|
public <T> T get(String key)
ContextMapOp
get
in interface ContextMapOp
T
- object from the mapkey
- Key
ContextMapOp.get(String)
public <T> void set(String key, T obj)
ContextMapOp
set
in interface ContextMapOp
key
- Key for the mapobj
- Object to be placedContextMapOp.set(String, Object)
public int getDecision()
ResponseContext
getDecision
in interface ResponseContext
XACMLConstants.DECISION_PERMIT
ResponseContext.getDecision()
public ResultType getResult()
ResponseContext
getResult
in interface ResponseContext
ResponseContext.getResult()
public Node getDocumentElement()
ResponseContext
getDocumentElement
in interface ResponseContext
ResponseContext.getDocumentElement()
public void marshall(OutputStream os) throws IOException
ResponseContext
marshall
in interface ResponseContext
os
- OutputStream (System.out, ByteArrayOutputStream etc)
IOException
ResponseContext.marshall(OutputStream)
public void readResponse(InputStream is) throws Exception
ResponseContext
readResponse
in interface ResponseContext
Exception
ResponseContext.readResponse(InputStream)
public void readResponse(Node node) throws IOException
ResponseContext
readResponse
in interface ResponseContext
IOException
ResponseContext.readResponse(Node)
public Element asElement(Document root)
ElementMappingType
asElement
in interface ElementMappingType
ElementMappingType.asElement(Document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |