Class CoderMetadata<T>
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.metadata.CoderMetadata<T>
-
- Type Parameters:
T
- the specific type of coder (Decoder
orEncoder
- Direct Known Subclasses:
DecoderMetadata
,EncoderMetadata
public abstract class CoderMetadata<T> extends java.lang.Object
The immutable base metadata for a coder (Decoder
orEncoder
-
-
Constructor Summary
Constructors Constructor Description CoderMetadata(java.lang.Class<? extends T> coderClass, java.lang.Class<?> objType, MessageType messageType, boolean streamed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends T>
getCoderClass()
MessageType
getMessageType()
java.lang.Class<?>
getObjectType()
boolean
isStreamed()
-
-
-
Constructor Detail
-
CoderMetadata
public CoderMetadata(java.lang.Class<? extends T> coderClass, java.lang.Class<?> objType, MessageType messageType, boolean streamed)
-
-
Method Detail
-
getCoderClass
public java.lang.Class<? extends T> getCoderClass()
-
getMessageType
public MessageType getMessageType()
-
getObjectType
public java.lang.Class<?> getObjectType()
-
isStreamed
public boolean isStreamed()
-
-