Class UndertowBlueprint<C>


  • @Acceptor
    public final class UndertowBlueprint<C>
    extends java.lang.Object
    Acceptor for the base Undertow configuration.
    • Constructor Detail

      • UndertowBlueprint

        public UndertowBlueprint()
    • Method Detail

      • holder

        @Deprecated(forRemoval=true)
        public static <C> UndertowBlueprint.EP<C> holder()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • holder

        public static <C> UndertowBlueprint.EP<C> holder​(java.util.function.Supplier<? extends io.undertow.Undertow.Builder> undertowBuilderSupplier)
      • httpAllSecure

        public UndertowBlueprint<C> httpAllSecure​(int port,
                                                  javax.net.ssl.SSLContext sslContext)
      • httpLocalSecure

        public UndertowBlueprint<C> httpLocalSecure​(int port,
                                                    javax.net.ssl.SSLContext sslContext)
      • httpSecure

        public UndertowBlueprint<C> httpSecure​(java.lang.String address,
                                               int port,
                                               javax.net.ssl.SSLContext sslContext)
      • handler

        public UndertowBlueprint<C> handler​(java.util.function.BiFunction<? super java.util.function.Function<? super io.undertow.server.HttpServerExchange,​? extends C>,​? super io.undertow.server.HttpHandler,​? extends io.undertow.server.HttpHandler> handler)
      • handler

        public UndertowBlueprint<C> handler​(java.util.function.Function<? super io.undertow.server.HttpHandler,​? extends io.undertow.server.HttpHandler> handler)
      • prependHandler

        public UndertowBlueprint<C> prependHandler​(java.util.function.BiFunction<? super java.util.function.Function<? super io.undertow.server.HttpServerExchange,​? extends C>,​? super io.undertow.server.HttpHandler,​? extends io.undertow.server.HttpHandler> handler)
      • prependHandler

        public UndertowBlueprint<C> prependHandler​(java.util.function.Function<? super io.undertow.server.HttpHandler,​? extends io.undertow.server.HttpHandler> handler)
      • dispatchAdvice

        public UndertowBlueprint<C> dispatchAdvice​(java.util.function.Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> dispatchAdvice)
      • dispatchAdvice

        public UndertowBlueprint<C> dispatchAdvice​(io.vavr.control.Option<? extends java.util.function.Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice>> dispatchAdvice)
      • security

        public UndertowBlueprint<C> security​(io.undertow.security.idm.IdentityManager identityManager,
                                             io.undertow.security.api.AuthenticationMechanism... mechanisms)
      • security

        public UndertowBlueprint<C> security​(io.undertow.security.idm.IdentityManager identityManager,
                                             java.lang.Iterable<? extends io.undertow.security.api.AuthenticationMechanism> mechanisms)
      • basicSecurity

        public UndertowBlueprint<C> basicSecurity​(io.undertow.security.idm.IdentityManager identityManager)
      • basicSecurity

        public UndertowBlueprint<C> basicSecurity​(io.undertow.security.idm.IdentityManager identityManager,
                                                  java.lang.String realm)
      • customMainHandler

        public UndertowBlueprint<C> customMainHandler​(java.util.function.Function<? super java.util.function.Function<? super io.undertow.server.HttpServerExchange,​? extends C>,​? extends io.undertow.server.HttpHandler> mainHandler)
      • mainHandler

        @Deprecated(forRemoval=true)
        public UndertowBlueprint<C> mainHandler​(java.util.function.Function<? super java.util.function.Function<? super io.undertow.server.HttpServerExchange,​? extends C>,​? extends io.undertow.server.HttpHandler> mainHandler)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • enableStackTraces

        public UndertowBlueprint<C> enableStackTraces​(java.util.function.Supplier<java.lang.Boolean> enable)
      • enableStackTraces

        public UndertowBlueprint<C> enableStackTraces​(java.util.function.Predicate<? super io.undertow.server.HttpServerExchange> enable)
      • suppressStackTraces

        @Deprecated(forRemoval=true)
        public UndertowBlueprint<C> suppressStackTraces()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • suppressStackTraces

        @Deprecated(forRemoval=true)
        public UndertowBlueprint<C> suppressStackTraces​(boolean suppress)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • suppressStackTraces

        @Deprecated(forRemoval=true)
        public UndertowBlueprint<C> suppressStackTraces​(java.util.function.Supplier<java.lang.Boolean> suppress)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • suppressStackTraces

        @Deprecated(forRemoval=true)
        public UndertowBlueprint<C> suppressStackTraces​(java.util.function.Predicate<? super io.undertow.server.HttpServerExchange> suppress)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • requestContextFactory

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

        public UndertowBlueprint<C> requestContextFactory​(java.util.function.Supplier<? extends C> factory)
      • postConstruct

        public UndertowBlueprint<C> postConstruct​(java.util.function.Consumer<? super io.undertow.Undertow> consumer)
      • postStart

        public UndertowBlueprint<C> postStart​(java.util.function.Consumer<? super io.undertow.Undertow> consumer)