|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.xacml.core.JBossRequestContext
public class JBossRequestContext
Implementation of the RequestContext interface
Constructor Summary | |
---|---|
JBossRequestContext()
|
Method Summary | ||
---|---|---|
Element |
asElement(Document root)
Return a new Element given the owner document |
|
|
get(String key)
Get an element from the map |
|
Node |
getDocumentElement()
Return the element of the document from where the request was created if available Null if no parsing was involved |
|
void |
marshall(OutputStream os)
Marshall the request context onto an Output Stream |
|
void |
readRequest(InputStream is)
Read the Request from a stream |
|
void |
readRequest(Node node)
Read a preparsed Node |
|
|
set(String key,
T obj)
Set an object on the map |
|
void |
setRequest(RequestType requestType)
Place the Request instance on the context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossRequestContext()
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 Node getDocumentElement()
RequestContext
getDocumentElement
in interface RequestContext
RequestContext.getDocumentElement()
public void setRequest(RequestType requestType) throws IOException
RequestContext
setRequest
in interface RequestContext
requestType
- An instance of RequestType
IOException
RequestContext.setRequest(RequestType)
public void readRequest(InputStream is) throws IOException
RequestContext
readRequest
in interface RequestContext
is
- InputStream for the request
IOException
RequestContext.readRequest(InputStream)
public void readRequest(Node node) throws IOException
RequestContext
readRequest
in interface RequestContext
IOException
RequestContext.readRequest(Node)
public void marshall(OutputStream os) throws IOException
RequestContext
marshall
in interface RequestContext
os
- OutputStream (System.out, ByteArrayOutputStream etc)
IOException
RequestContext.marshall(OutputStream)
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 |