Class ErrorMessageHandler.ExceptionRenderer

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ErrorMessageHandler.ExceptionRenderer defaultInstance()  
      io.vavr.control.Option<java.lang.String> render​(io.undertow.server.HttpServerExchange exchange, java.lang.Object message)  
      static io.undertow.server.HttpServerExchange setSuppressStackTraces​(io.undertow.server.HttpServerExchange exchange, boolean suppress)  
      static io.undertow.server.HttpServerExchange setSuppressStackTraces​(io.undertow.server.HttpServerExchange exchange, java.util.function.Predicate<? super io.undertow.server.HttpServerExchange> suppress)  
      static io.undertow.server.HttpHandler suppressStackTracesHandler​(io.undertow.server.HttpHandler next)  
      static io.undertow.server.HttpHandler suppressStackTracesHandler​(io.undertow.server.HttpHandler next, java.util.function.Predicate<? super io.undertow.server.HttpServerExchange> suppress)  
      static io.undertow.server.HttpHandler suppressStackTracesHandler​(io.undertow.server.HttpHandler next, java.util.function.Supplier<java.lang.Boolean> suppress)  
      • Methods inherited from class java.lang.Object

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

      • ExceptionRenderer

        public ExceptionRenderer()
    • Method Detail

      • setSuppressStackTraces

        public static io.undertow.server.HttpServerExchange setSuppressStackTraces​(io.undertow.server.HttpServerExchange exchange,
                                                                                   boolean suppress)
      • setSuppressStackTraces

        public static io.undertow.server.HttpServerExchange setSuppressStackTraces​(io.undertow.server.HttpServerExchange exchange,
                                                                                   java.util.function.Predicate<? super io.undertow.server.HttpServerExchange> suppress)
      • suppressStackTracesHandler

        public static io.undertow.server.HttpHandler suppressStackTracesHandler​(io.undertow.server.HttpHandler next)
      • suppressStackTracesHandler

        public static io.undertow.server.HttpHandler suppressStackTracesHandler​(io.undertow.server.HttpHandler next,
                                                                                java.util.function.Predicate<? super io.undertow.server.HttpServerExchange> suppress)
      • suppressStackTracesHandler

        public static io.undertow.server.HttpHandler suppressStackTracesHandler​(io.undertow.server.HttpHandler next,
                                                                                java.util.function.Supplier<java.lang.Boolean> suppress)
      • render

        public io.vavr.control.Option<java.lang.String> render​(io.undertow.server.HttpServerExchange exchange,
                                                               java.lang.Object message)
        Specified by:
        render in interface ErrorMessageHandler.MessageRenderer