Class UndertowExchange
- java.lang.Object
-
- io.undertow.server.RoutingHandler
-
- be.yildizgames.module.webserver.undertow.UndertowExchange
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class UndertowExchange extends io.undertow.server.RoutingHandler
-
-
Constructor Summary
Constructors Constructor Description UndertowExchange()
-
Method Summary
Modifier and Type Method Description StringgetPathParameter(io.undertow.server.HttpServerExchange exchange, String key)voidrespondErrorInternal(io.undertow.server.HttpServerExchange exchange, String message)voidrespondErrorNotFound(io.undertow.server.HttpServerExchange exchange, String message)voidrespondFile(io.undertow.server.HttpServerExchange exchange, Path file)voidrespondHtml(io.undertow.server.HttpServerExchange exchange, HtmlPage html)voidrespondHtml(io.undertow.server.HttpServerExchange exchange, String html)voidrespondJson(io.undertow.server.HttpServerExchange exchange, Object o)voidrespondVideo(io.undertow.server.HttpServerExchange exchange, Path path)voidrespondXml(io.undertow.server.HttpServerExchange exchange, String xml)
-
-
-
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)
-
-