public class DomainUtil extends Object
| Constructor and Description |
|---|
DomainUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
constructUrl(io.undertow.server.HttpServerExchange exchange,
String path)
Based on the current request represented by the HttpExchange construct a complete URL for the supplied path.
|
static void |
writeCacheHeaders(io.undertow.server.HttpServerExchange exchange,
int status,
OperationParameter operationParameter) |
static void |
writeResponse(io.undertow.server.HttpServerExchange exchange,
int status,
org.jboss.dmr.ModelNode response,
OperationParameter operationParameter) |
public static void writeResponse(io.undertow.server.HttpServerExchange exchange,
int status,
org.jboss.dmr.ModelNode response,
OperationParameter operationParameter)
public static void writeCacheHeaders(io.undertow.server.HttpServerExchange exchange,
int status,
OperationParameter operationParameter)
public static String constructUrl(io.undertow.server.HttpServerExchange exchange, String path)
exchange - - The current HttpExchangepath - - The path to include in the constructed URLCopyright © 2015 JBoss by Red Hat. All rights reserved.