org.jboss.security.xacml.interfaces
Interface RequestContext

All Superinterfaces:
ContextMapOp
All Known Implementing Classes:
JBossRequestContext

public interface RequestContext
extends ContextMapOp

Represents a Request

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

Method Summary
 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
 

Method Detail

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 © 2008 JBoss Inc.. All Rights Reserved.