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, javax.servlet.ServletException
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeIOException
javax.servlet.ServletException
public ManagedServlet getManagedServlet()
Copyright © 2020 JBoss by Red Hat. All rights reserved.