@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { if (isSecure(ctx.getConnection())) { return super.handleRead(ctx); } return ctx.getInvokeAction(); }
@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { if (isSecure(ctx.getConnection())) { return super.handleRead(ctx); } return ctx.getInvokeAction(); }
@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { if (isSecure(ctx.getConnection())) { return super.handleRead(ctx); } return ctx.getInvokeAction(); }
@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { if (isSecure(ctx.getConnection())) { return super.handleRead(ctx); } return ctx.getInvokeAction(); }
@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { if (isSecure(ctx.getConnection())) { return super.handleRead(ctx); } return ctx.getInvokeAction(); }
@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { try { ctx.getAttributes().setAttribute(HTTPS.getScheme(), true); NextAction nextAction = super.handleRead(ctx); ctx.getAttributes().setAttribute(SSL_SESSION_ATTRIBUTE_KEY, getSslSession(ctx)); return nextAction; } catch (SSLHandshakeException e) { logger.error("SSL handshake error: " + e.getMessage()); throw e; } }
@Override public NextAction handleRead(FilterChainContext ctx) throws IOException { try { ctx.getAttributes().setAttribute(HTTPS.getScheme(), true); NextAction nextAction = super.handleRead(ctx); ctx.getAttributes().setAttribute(SSL_SESSION_ATTRIBUTE_KEY, getSslSession(ctx)); return nextAction; } catch (SSLHandshakeException e) { handleSSLException(e); throw e; } }
return super.handleRead(ctx); return super.handleRead(ctx);
return super.handleRead(ctx); return super.handleRead(ctx);