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, set
asElement
Node getDocumentElement()
void setRequest(RequestType requestType) throws IOException
requestType
- An instance of RequestTypeIOException
void readRequest(InputStream is) throws IOException
is
- InputStream for the requestIOException
void readRequest(Node node) throws IOException
node
- IOException
void marshall(OutputStream os) throws IOException
os
- OutputStream (System.out, ByteArrayOutputStream etc)IOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.