public interface ResponseContext extends ContextMapOp, ElementMappingType
| Modifier and Type | Method and Description |
|---|---|
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
|
get, setasElementint getDecision()
XACMLConstants.DECISION_PERMITXACMLConstantsResultType getResult()
Node getDocumentElement()
void readResponse(InputStream is) throws Exception
is - Exceptionvoid readResponse(Node node) throws IOException
node - IOExceptionvoid marshall(OutputStream os) throws IOException
os - OutputStream (System.out, ByteArrayOutputStream etc)IOExceptionCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.