public class PathTemplateHandler extends Object implements HttpHandler
PathTemplateMatcher| Modifier and Type | Class and Description |
|---|---|
static class | PathTemplateHandler.PathTemplateMatch Deprecated. |
| Modifier and Type | Field and Description |
|---|---|
static AttachmentKey<PathTemplateHandler.PathTemplateMatch> | PATH_TEMPLATE_MATCH Deprecated. |
| Constructor and Description |
|---|
PathTemplateHandler() |
PathTemplateHandler(boolean rewriteQueryParameters) |
PathTemplateHandler(HttpHandler next) |
PathTemplateHandler(HttpHandler next, boolean rewriteQueryParameters) |
| Modifier and Type | Method and Description |
|---|---|
PathTemplateHandler | add(String uriTemplate, HttpHandler handler) |
void | handleRequest(HttpServerExchange exchange) Handle the request. |
PathTemplateHandler | remove(String uriTemplate) |
@Deprecated public static final AttachmentKey<PathTemplateHandler.PathTemplateMatch> PATH_TEMPLATE_MATCH
PathTemplateMatch.ATTACHMENT_KEYpublic PathTemplateHandler()
public PathTemplateHandler(boolean rewriteQueryParameters)
public PathTemplateHandler(HttpHandler next)
public PathTemplateHandler(HttpHandler next, boolean rewriteQueryParameters)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic PathTemplateHandler add(String uriTemplate, HttpHandler handler)
public PathTemplateHandler remove(String uriTemplate)
Copyright © 2020 JBoss by Red Hat. All rights reserved.