Class DecoderFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.DecoderFactory
-
- All Implemented Interfaces:
Configurable
public class DecoderFactory extends Object implements Configurable
Factory forDecoderMetadataRelies on search order of parent
DecoderFactoryinstances as such.- From Static DecoderMetadataSet (based on data in annotations and static EndpointConfig)
- From Composite DecoderMetadataSet (based static and instance specific EndpointConfig)
- Container declared DecoderMetadataSet (primitives)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDecoderFactory.Wrapper
-
Constructor Summary
Constructors Modifier Constructor Description DecoderFactory(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope containerScope, DecoderMetadataSet metadatas)protectedDecoderFactory(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope containerScope, DecoderMetadataSet metadatas, DecoderFactory parentFactory)DecoderFactory(org.eclipse.jetty.websocket.common.scopes.WebSocketSessionScope sessionScope, DecoderMetadataSet metadatas, DecoderFactory parentFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecodergetDecoderFor(Class<?> type)DecoderMetadatagetMetadataFor(Class<?> type)DecoderFactory.WrappergetWrapperFor(Class<?> type)voidinit(EndpointConfig config)DecoderFactory.WrappernewWrapper(DecoderMetadata metadata)
-
-
-
Constructor Detail
-
DecoderFactory
public DecoderFactory(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope containerScope, DecoderMetadataSet metadatas)
-
DecoderFactory
public DecoderFactory(org.eclipse.jetty.websocket.common.scopes.WebSocketSessionScope sessionScope, DecoderMetadataSet metadatas, DecoderFactory parentFactory)
-
DecoderFactory
protected DecoderFactory(org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope containerScope, DecoderMetadataSet metadatas, DecoderFactory parentFactory)
-
-
Method Detail
-
getMetadataFor
public DecoderMetadata getMetadataFor(Class<?> type)
-
getWrapperFor
public DecoderFactory.Wrapper getWrapperFor(Class<?> type)
-
init
public void init(EndpointConfig config)
- Specified by:
initin interfaceConfigurable
-
newWrapper
public DecoderFactory.Wrapper newWrapper(DecoderMetadata metadata)
-
-