Class CoderMetadata<T>
java.lang.Object
org.eclipse.jetty.websocket.jsr356.metadata.CoderMetadata<T>
- Type Parameters:
T- the specific type of coder (DecoderorEncoder
- Direct Known Subclasses:
DecoderMetadata, EncoderMetadata
The immutable base metadata for a coder (
Decoder or Encoder-
Field Summary
FieldsModifier and TypeFieldDescriptionThe class for the Coderprivate final MessageTypeThe Basic type of message the decoder handlesprivate final Class<?> The Class that the Decoder declares it decodesprivate final booleanFlag indicating if Decoder is for streaming (or not) -
Constructor Summary
ConstructorsConstructorDescriptionCoderMetadata(Class<? extends T> coderClass, Class<?> objType, MessageType messageType, boolean streamed) -
Method Summary
-
Field Details
-
coderClass
-
objType
The Class that the Decoder declares it decodes -
messageType
The Basic type of message the decoder handles -
streamed
private final boolean streamedFlag indicating if Decoder is for streaming (or not)
-
-
Constructor Details
-
CoderMetadata
public CoderMetadata(Class<? extends T> coderClass, Class<?> objType, MessageType messageType, boolean streamed)
-
-
Method Details
-
getCoderClass
-
getMessageType
-
getObjectType
-
isStreamed
public boolean isStreamed()
-