public class WebServerConfigBuilder<S>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
WebServerConfigBuilder.RequestDecorator<S> |
Constructor and Description |
---|
WebServerConfigBuilder(SessionFactory<S> factory) |
public WebServerConfigBuilder(SessionFactory<S> factory)
public IoBufferPool.Factory getBufferPool()
public void setBufferPool(IoBufferPool.Factory bufferPool)
public SessionDispatcherFactory<S> getDispatcher()
public void setDispatcher(SessionDispatcherFactory<S> dispatcher)
public WebServerConfigBuilder.RequestDecorator<S> getDecorator()
public void setDecorator(WebServerConfigBuilder.RequestDecorator<S> decorator)
public int getMaxReadLoops()
public void setMaxReadLoops(int maxReadLoops)
public int getReadBufferSizeInBytes()
public void setReadBufferSizeInBytes(int readBufferSizeInBytes)
public java.nio.charset.Charset getWebsocketCharset()
public WebServerConfigBuilder setWebsocketCharset(java.nio.charset.Charset websocketCharset)
public void setExceptionHandler(HttpRequestHandler.ExceptionHandler exceptionHandler)
public HttpRequestHandler.ExceptionHandler getExceptionHandler()
public <T> WebServerConfigBuilder<S> add(PathMatcher<S> path, WebSocketHandler<S,T> handler)
public <T> WebServerConfigBuilder<S> add(PathMatcher<S> path, WebSocketHandler<S,T> handler, WebSocketSecurity<S> security)
public WebServerConfigBuilder<S> add(PathMatcher<S> path, HttpHandler<S> rs)
public WebServerConfigBuilder<S> add(HandlerLocator<S> locator)
public WebServerConfigBuilder<S> add(PathMatcher<S> path, HttpHandler<S> rs, HttpSecurity<S> security)
public WebDispatcher<S> create(org.jetlang.fibers.NioFiber readFiber)
protected HttpRequestHandler<S> createHandler(HandlerLocator.List<S> handlerMap)
Copyright © 2019. All Rights Reserved.