public class ServletHandler extends Object implements HttpHandler
TODO: do we want to move lifecycle considerations out of this handler?
Constructor and Description |
---|
ServletHandler(ManagedServlet managedServlet) |
Modifier and Type | Method and Description |
---|---|
ManagedServlet |
getManagedServlet() |
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
public ServletHandler(ManagedServlet managedServlet)
public void handleRequest(HttpServerExchange exchange) throws IOException, ServletException
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeIOException
ServletException
public ManagedServlet getManagedServlet()
Copyright © 2021 JBoss by Red Hat. All rights reserved.