Class EncoderFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.EncoderFactory
-
- All Implemented Interfaces:
Configurable
public class EncoderFactory extends java.lang.Object implements Configurable
Represents all of the declaredEncoder
s that the Container is aware of.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EncoderFactory.Wrapper
-
Constructor Summary
Constructors Modifier Constructor Description EncoderFactory(WebSocketContainerScope containerScope, EncoderMetadataSet metadatas)
protected
EncoderFactory(WebSocketContainerScope containerScope, EncoderMetadataSet metadatas, EncoderFactory parentFactory)
EncoderFactory(WebSocketSessionScope sessionScope, EncoderMetadataSet metadatas, EncoderFactory parentFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
javax.websocket.Encoder
getEncoderFor(java.lang.Class<?> type)
EncoderMetadata
getMetadataFor(java.lang.Class<?> type)
EncoderFactory.Wrapper
getWrapperFor(java.lang.Class<?> type)
void
init(javax.websocket.EndpointConfig config)
-
-
-
Constructor Detail
-
EncoderFactory
public EncoderFactory(WebSocketContainerScope containerScope, EncoderMetadataSet metadatas)
-
EncoderFactory
public EncoderFactory(WebSocketSessionScope sessionScope, EncoderMetadataSet metadatas, EncoderFactory parentFactory)
-
EncoderFactory
protected EncoderFactory(WebSocketContainerScope containerScope, EncoderMetadataSet metadatas, EncoderFactory parentFactory)
-
-
Method Detail
-
getEncoderFor
public javax.websocket.Encoder getEncoderFor(java.lang.Class<?> type)
-
getMetadataFor
public EncoderMetadata getMetadataFor(java.lang.Class<?> type)
-
getWrapperFor
public EncoderFactory.Wrapper getWrapperFor(java.lang.Class<?> type)
-
init
public void init(javax.websocket.EndpointConfig config)
- Specified by:
init
in interfaceConfigurable
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceConfigurable
-
-