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