|
||||||||||
| 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 ContextMapOpT - object from the mapkey - Key
ContextMapOp.get(String)
public <T> void set(String key,
T obj)
ContextMapOp
set in interface ContextMapOpkey - Key for the mapobj - Object to be placedContextMapOp.set(String, Object)public int getDecision()
ResponseContext
getDecision in interface ResponseContextXACMLConstants.DECISION_PERMITResponseContext.getDecision()public ResultType getResult()
ResponseContext
getResult in interface ResponseContextResponseContext.getResult()public Node getDocumentElement()
ResponseContext
getDocumentElement in interface ResponseContextResponseContext.getDocumentElement()
public void marshall(OutputStream os)
throws IOException
ResponseContext
marshall in interface ResponseContextos - OutputStream (System.out, ByteArrayOutputStream etc)
IOExceptionResponseContext.marshall(OutputStream)
public void readResponse(InputStream is)
throws Exception
ResponseContext
readResponse in interface ResponseContextExceptionResponseContext.readResponse(InputStream)
public void readResponse(Node node)
throws IOException
ResponseContext
readResponse in interface ResponseContextIOExceptionResponseContext.readResponse(Node)public Element asElement(Document root)
ElementMappingType
asElement in interface ElementMappingTypeElementMappingType.asElement(Document)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||