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, set
asElement
int getDecision()
XACMLConstants.DECISION_PERMIT
XACMLConstants
ResultType getResult()
Node getDocumentElement()
void readResponse(InputStream is) throws Exception
is
- Exception
void readResponse(Node node) throws IOException
node
- IOException
void marshall(OutputStream os) throws IOException
os
- OutputStream (System.out, ByteArrayOutputStream etc)IOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.