Class UndertowExchange

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class UndertowExchange
    extends io.undertow.server.RoutingHandler
    • Constructor Detail

      • UndertowExchange

        public UndertowExchange()
    • Method Detail

      • respondErrorInternal

        public void respondErrorInternal​(io.undertow.server.HttpServerExchange exchange,
                                         String message)
      • respondErrorNotFound

        public void respondErrorNotFound​(io.undertow.server.HttpServerExchange exchange,
                                         String message)
      • respondHtml

        public void respondHtml​(io.undertow.server.HttpServerExchange exchange,
                                String html)
      • respondHtml

        public void respondHtml​(io.undertow.server.HttpServerExchange exchange,
                                HtmlPage html)
      • respondXml

        public void respondXml​(io.undertow.server.HttpServerExchange exchange,
                               String xml)
      • respondFile

        public void respondFile​(io.undertow.server.HttpServerExchange exchange,
                                Path file)
      • respondJson

        public void respondJson​(io.undertow.server.HttpServerExchange exchange,
                                Object o)
      • getPathParameter

        public String getPathParameter​(io.undertow.server.HttpServerExchange exchange,
                                       String key)
      • respondVideo

        public void respondVideo​(io.undertow.server.HttpServerExchange exchange,
                                 Path path)