Class ResourceHandler


  • public final class ResourceHandler
    extends java.lang.Object
    Basic authentication utility
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.undertow.server.RoutingHandler addHandler​(IWebServerConfiguration configuration, io.undertow.server.RoutingHandler routinrgHandler)
      Add basic authentication
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addHandler

        public static io.undertow.server.RoutingHandler addHandler​(IWebServerConfiguration configuration,
                                                                   io.undertow.server.RoutingHandler routinrgHandler)
        Add basic authentication
        Parameters:
        configuration - the configuration
        routinrgHandler - the routing handler
        Returns:
        the handler