| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | |
| public static String | redirect(final HttpServerExchange
The HTTP server exchange exchange, final String The new relative path newRelativePath)Redirects to a new relative path. |
| public static String | redirect(final HttpServerExchange
The HTTP server exchange exchange, final String The new relative path newRelativePath, final boolean If query and path parameters from the exchange should be included includeParameters)Redirects to a new relative path. |
| UTF_8 | back to summary |
|---|---|
| public static final String UTF_8 | |
| RedirectBuilder | back to summary |
|---|---|
| private RedirectBuilder() | |
| encodeUrlPart | back to summary |
|---|---|
| private static String encodeUrlPart(final String part) throws UnsupportedEncodingException perform URL encoding Todo this whole thing is kinda crappy. | |
| realEncode | back to summary |
|---|---|
| private static String realEncode(String part, int startPos) throws UnsupportedEncodingException | |
| redirect | back to summary |
|---|---|
| public static String redirect(final HttpServerExchange exchange, final String newRelativePath) Redirects to a new relative path. All other data from the exchange is preserved.
| |
| redirect | back to summary |
|---|---|
| public static String redirect(final HttpServerExchange exchange, final String newRelativePath, final boolean includeParameters) Redirects to a new relative path. All other data from the exchange is preserved.
| |