Search in sources :

Example 1 with HttpSessionManager

use of com.generallycloud.baseio.container.http11.HttpSessionManager in project baseio by generallycloud.

the class HttpFutureAcceptorService method accept.

@Override
public void accept(SocketSession session, Future future) throws Exception {
    HttpSessionManager manager = context.getHttpSessionManager();
    HttpFuture httpReadFuture = (HttpFuture) future;
    HttpSession httpSession = manager.getHttpSession(context, session, httpReadFuture);
    doAccept(httpSession, httpReadFuture);
}
Also used : HttpSessionManager(com.generallycloud.baseio.container.http11.HttpSessionManager) HttpSession(com.generallycloud.baseio.container.http11.HttpSession) HttpFuture(com.generallycloud.baseio.codec.http11.future.HttpFuture)

Aggregations

HttpFuture (com.generallycloud.baseio.codec.http11.future.HttpFuture)1 HttpSession (com.generallycloud.baseio.container.http11.HttpSession)1 HttpSessionManager (com.generallycloud.baseio.container.http11.HttpSessionManager)1