Package ortus.boxlang.web.handlers
Class BLHandler
java.lang.Object
ortus.boxlang.web.handlers.BLHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
Undertow HttpHandler for BoxLang
This mini-server only has one web root for all requests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalizeResponse(BoxHTTPUndertowExchange httpExchange) Finalize the responsevoidhandleRequest(io.undertow.server.HttpServerExchange exchange) Handle the request
-
Constructor Details
-
BLHandler
Create a new BLHandler- Parameters:
webRoot- The web root
-
-
Method Details
-
handleRequest
Handle the request- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Parameters:
exchange- The HttpServerExchange- Throws:
Exception- If an error occurs
-
finalizeResponse
Finalize the response- Parameters:
httpExchange- The BoxHTTPUndertowExchange
-