public interface RequestContext extends ContextMapOp, ElementMappingType
| Modifier and Type | Method and Description |
|---|---|
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
|
get, setasElementNode getDocumentElement()
void setRequest(RequestType requestType) throws IOException
requestType - An instance of RequestTypeIOExceptionvoid readRequest(InputStream is) throws IOException
is - InputStream for the requestIOExceptionvoid readRequest(Node node) throws IOException
node - IOExceptionvoid marshall(OutputStream os) throws IOException
os - OutputStream (System.out, ByteArrayOutputStream etc)IOExceptionCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.