use of org.eclipse.jetty.websocket.jsr356.metadata.DecoderMetadataSet in project jetty.project by eclipse.
the class DecoderFactoryTest method initDecoderFactory.
@Before
public void initDecoderFactory() {
WebSocketContainerScope containerScope = new SimpleContainerScope(WebSocketPolicy.newClientPolicy());
DecoderFactory primitivesFactory = new DecoderFactory(containerScope, PrimitiveDecoderMetadataSet.INSTANCE);
metadatas = new DecoderMetadataSet();
factory = new DecoderFactory(containerScope, metadatas, primitivesFactory);
}
use of org.eclipse.jetty.websocket.jsr356.metadata.DecoderMetadataSet in project jetty.project by eclipse.
the class MessageHandlerFactoryTest method init.
@Before
public void init() throws DeploymentException {
WebSocketContainerScope containerScope = new SimpleContainerScope(WebSocketPolicy.newClientPolicy());
DecoderFactory primitivesFactory = new DecoderFactory(containerScope, PrimitiveDecoderMetadataSet.INSTANCE);
metadatas = new DecoderMetadataSet();
decoders = new DecoderFactory(containerScope, metadatas, primitivesFactory);
factory = new MessageHandlerFactory();
}
Aggregations