Class SecureCookieHandler

  • All Implemented Interfaces:
    HttpHandler

    public class SecureCookieHandler
    extends java.lang.Object
    implements HttpHandler
    Handler that will set the secure flag on all cookies that are received over a secure connection
    • Constructor Detail

      • SecureCookieHandler

        public SecureCookieHandler​(HttpHandler next)
    • Method Detail

      • handleRequest

        public void handleRequest​(HttpServerExchange exchange)
                           throws java.lang.Exception
        Description copied from interface: HttpHandler
        Handle the request.
        Specified by:
        handleRequest in interface HttpHandler
        Parameters:
        exchange - the HTTP request/response exchange
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object