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(java.io.OutputStream os)
          Marshall the request context onto an Output Stream
 void readRequest(java.io.InputStream is)
          Read the Request from a stream
 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 java.io.IOException
Place the Request instance on the context

Parameters:
requestType - An instance of RequestType
Throws:
java.io.IOException

readRequest

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

Parameters:
is - InputStream for the request
Throws:
java.io.IOException

marshall

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

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


Copyright © 2007 JBoss Inc.. All Rights Reserved.