Method Summary |
|
public Codec | copy() |
public static FastInfosetCodec | create() Creates a new
FastInfosetCodec instance. |
public static FastInfosetCodec | create(boolean retainState) Creates a new
FastInfosetCodec instance.
Parameters: retainState - if true the Codec should retain the state ofvocabulary tables for multiple encode/decode invocations. |
static StAXDocumentParser | createNewStreamReader(InputStream in, boolean retainState) Create a new (@link StAXDocumentParser} instance.
Parameters: in - the InputStream to parse from. Parameters: retainState - if true the parser should retain the state ofvocabulary tables for multiple parses. |
static StAXDocumentParser | createNewStreamReaderRecyclable(InputStream in, boolean retainState) Create a new (@link StAXDocumentParser} recyclable instance.
Parameters: in - the InputStream to parse from. Parameters: retainState - if true the parser should retain the state ofvocabulary tables for multiple parses. |
static StAXDocumentSerializer | createNewStreamWriter(OutputStream out, boolean retainState) Create a new (@link StAXDocumentSerializer} instance.
Parameters: in - the OutputStream to serialize to. Parameters: retainState - if true the serializer should retain the state ofvocabulary tables for multiple serializations. |
static StAXDocumentSerializer | createNewStreamWriter(OutputStream out, boolean retainState, int indexedStringSizeLimit, int stringsMemoryLimit) Create a new (@link StAXDocumentSerializer} instance.
Parameters: in - the OutputStream to serialize to. Parameters: retainState - if true the serializer should retain the state ofvocabulary tables for multiple serializations. |
public void | decode(InputStream in, String contentType, Packet packet) |
public void | decode(ReadableByteChannel in, String contentType, Packet response) |
public ContentType | encode(Packet packet, OutputStream out) |
public ContentType | encode(Packet packet, WritableByteChannel buffer) |
public String | getMimeType() |
public ContentType | getStaticContentType(Packet packet) |