| Package | Description |
|---|---|
| io.undertow | |
| io.undertow.server.handlers |
| Modifier and Type | Method and Description |
|---|---|
static PathHandler |
Handlers.path()
Creates a new path handler
|
static PathHandler |
Handlers.path(HttpHandler defaultHandler)
Creates a new path handler, with the default handler specified
|
| Modifier and Type | Method and Description |
|---|---|
PathHandler |
PathHandler.addExactPath(String path,
HttpHandler handler)
If the request path is exactly equal to the given path, run the handler.
|
PathHandler |
PathHandler.addPath(String path,
HttpHandler handler)
Deprecated.
Superseded by
addPrefixPath(String, io.undertow.server.HttpHandler). |
PathHandler |
PathHandler.addPrefixPath(String path,
HttpHandler handler)
Adds a path prefix and a handler for that path.
|
PathHandler |
PathHandler.clearPaths() |
PathHandler |
PathHandler.removeExactPath(String path) |
PathHandler |
PathHandler.removePath(String path)
Deprecated.
|
PathHandler |
PathHandler.removePrefixPath(String path) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.