org.jboss.security.xacml.interfaces
Interface RequestContext

All Superinterfaces:
ContextMapOp, ElementMappingType
All Known Implementing Classes:
JBossRequestContext

public interface RequestContext
extends ContextMapOp, ElementMappingType

Represents a Request

Since:
Jul 6, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Method Summary
 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
 void setRequest(RequestType requestType)
          Place the Request instance on the context
 
Methods inherited from interface org.jboss.security.xacml.interfaces.ContextMapOp
get, set
 
Methods inherited from interface org.jboss.security.xacml.interfaces.ElementMappingType
asElement
 

Method Detail

getDocumentElement

Node getDocumentElement()
Return the element of the document from where the request was created if available Null if no parsing was involved

Returns:

setRequest

void setRequest(RequestType requestType)
                throws IOException
Place the Request instance on the context

Parameters:
requestType - An instance of RequestType
Throws:
IOException

readRequest

void readRequest(InputStream is)
                 throws IOException
Read the Request from a stream

Parameters:
is - InputStream for the request
Throws:
IOException

readRequest

void readRequest(Node node)
                 throws IOException
Read a preparsed Node

Parameters:
node -
Throws:
IOException

marshall

void marshall(OutputStream os)
              throws IOException
Marshall the request context onto an Output Stream

Parameters:
os - OutputStream (System.out, ByteArrayOutputStream etc)
Throws:
IOException


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.