public class Connectors extends Object
HttpServerExchange API.
It contains methods that logically belong on the exchange, however should only be used
by connector implementations.| Constructor and Description |
|---|
Connectors() |
| Modifier and Type | Method and Description |
|---|---|
static void |
executeRootHandler(HttpHandler handler,
HttpServerExchange exchange) |
static void |
flattenCookies(HttpServerExchange exchange)
Flattens the exchange cookie map into the response header map.
|
static void |
terminateRequest(HttpServerExchange exchange) |
static void |
terminateResponse(HttpServerExchange exchange) |
public static void flattenCookies(HttpServerExchange exchange)
exchange - The server exchangepublic static void terminateRequest(HttpServerExchange exchange)
public static void terminateResponse(HttpServerExchange exchange)
public static void executeRootHandler(HttpHandler handler, HttpServerExchange exchange)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.