Class RequestContextStore<C>

  • All Implemented Interfaces:
    java.util.function.Function<io.undertow.server.HttpServerExchange,​C>

    public final class RequestContextStore<C>
    extends java.lang.Object
    implements java.util.function.Function<io.undertow.server.HttpServerExchange,​C>
    Support for storing a request context in the HttpServerExchange.
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestContextStore​(java.util.function.Function<? super io.undertow.server.HttpServerExchange,​? extends C> factory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      C apply​(io.undertow.server.HttpServerExchange exchange)  
      io.undertow.server.HttpHandler createHandler​(io.undertow.server.HttpHandler next)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • RequestContextStore

        public RequestContextStore​(java.util.function.Function<? super io.undertow.server.HttpServerExchange,​? extends C> factory)
    • Method Detail

      • apply

        public C apply​(io.undertow.server.HttpServerExchange exchange)
        Specified by:
        apply in interface java.util.function.Function<io.undertow.server.HttpServerExchange,​C>
      • createHandler

        public io.undertow.server.HttpHandler createHandler​(io.undertow.server.HttpHandler next)