use of org.eclipse.jetty.websocket.jsr356.metadata.EncoderMetadataSet in project jetty.project by eclipse.
the class EncoderFactoryTest method initEncoderFactory.
@Before
public void initEncoderFactory() {
WebSocketContainerScope containerScope = new SimpleContainerScope(WebSocketPolicy.newClientPolicy());
EncoderFactory primitivesFactory = new EncoderFactory(containerScope, PrimitiveEncoderMetadataSet.INSTANCE);
metadatas = new EncoderMetadataSet();
factory = new EncoderFactory(containerScope, metadatas, primitivesFactory);
}
Aggregations