public interface ContentHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Returns the MIME type of this content handler.
|
Values |
getInputValues(java.io.InputStream is,
InvokeState state)
Reads input for service invocation.
|
void |
putOutputValues(java.io.OutputStream os,
Values out,
InvokeState state)
Encodes output of service invocation.
|
Values getInputValues(java.io.InputStream is, InvokeState state) throws java.io.IOException
is
- the input stream from which to readstate
- current invocation state (current user, etc.)java.io.IOException
void putOutputValues(java.io.OutputStream os, Values out, InvokeState state) throws java.io.IOException
os
- the output stream to which to writeout
- output values to encodestate
- current invocation state (current user, etc.)java.io.IOException
java.lang.String getContentType()