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
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeIOExceptionjavax.servlet.ServletExceptionpublic ManagedServlet getManagedServlet()
Copyright © 2020 JBoss by Red Hat. All rights reserved.