|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentHandler
A ContentHandler will field incoming requests of a particular MIME type. It is responsible for reading input data in whatever format(s) it understands, and formatting output data appropriately. This is irrespective of the request transport (i.e. HTTP, FTP, etc.)
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |