use of com.linkedin.r2.filter.transport.FilterChainDispatcher in project rest.li by linkedin.
the class HttpServerFactory method createHttpsServer.
public HttpServer createHttpsServer(int port, int sslPort, String keyStore, String keyStorePassword, String contextPath, int threadPoolSize, TransportDispatcher transportDispatcher, HttpJettyServer.ServletType servletType, int asyncTimeOut, boolean restOverStream) {
final TransportDispatcher filterDispatcher = new FilterChainDispatcher(transportDispatcher, _filters);
final HttpDispatcher dispatcher = new HttpDispatcher(filterDispatcher);
return new HttpsJettyServer(port, sslPort, keyStore, keyStorePassword, contextPath, threadPoolSize, dispatcher, servletType, asyncTimeOut, restOverStream);
}
use of com.linkedin.r2.filter.transport.FilterChainDispatcher in project rest.li by linkedin.
the class HttpServerFactory method createH2cServer.
public HttpServer createH2cServer(int port, String contextPath, int threadPoolSize, TransportDispatcher transportDispatcher, boolean restOverStream) {
final TransportDispatcher filterDispatcher = new FilterChainDispatcher(transportDispatcher, _filters);
final HttpDispatcher dispatcher = new HttpDispatcher(filterDispatcher);
return new H2cJettyServer(port, contextPath, threadPoolSize, dispatcher, restOverStream);
}
use of com.linkedin.r2.filter.transport.FilterChainDispatcher in project rest.li by linkedin.
the class HttpServerFactory method createServer.
public HttpServer createServer(int port, String contextPath, int threadPoolSize, TransportDispatcher transportDispatcher, HttpJettyServer.ServletType servletType, int asyncTimeOut, boolean restOverStream) {
final TransportDispatcher filterDispatcher = new FilterChainDispatcher(transportDispatcher, _filters);
final HttpDispatcher dispatcher = new HttpDispatcher(filterDispatcher);
return new HttpJettyServer(port, contextPath, threadPoolSize, dispatcher, servletType, asyncTimeOut, restOverStream);
}
use of com.linkedin.r2.filter.transport.FilterChainDispatcher in project rest.li by linkedin.
the class HttpServerFactory method createRAPServer.
public HttpServer createRAPServer(int port, TransportDispatcher transportDispatcher, int timeout, boolean restOverStream) {
final TransportDispatcher filterDispatcher = new FilterChainDispatcher(transportDispatcher, _filters);
HttpServlet httpServlet = restOverStream ? new RAPStreamServlet(filterDispatcher, timeout) : new RAPServlet(filterDispatcher);
return new HttpJettyServer(port, httpServlet);
}
use of com.linkedin.r2.filter.transport.FilterChainDispatcher in project rest.li by linkedin.
the class HttpNettyServerFactory method createServer.
public HttpServer createServer(int port, int threadPoolSize, TransportDispatcher transportDispatcher) {
final TransportDispatcher filterDispatcher = new FilterChainDispatcher(transportDispatcher, _filters);
final HttpDispatcher dispatcher = new HttpDispatcher(filterDispatcher);
return new HttpNettyServer(port, threadPoolSize, dispatcher);
}
Aggregations