Package org.jboss.as.domain.http.server
Class DomainUtil
- java.lang.Object
-
- org.jboss.as.domain.http.server.DomainUtil
-
public class DomainUtil extends Object
Utility methods used for HTTP based domain management.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description DomainUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringconstructUrl(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 voidwriteResponse(io.undertow.server.HttpServerExchange exchange, int status, org.jboss.dmr.ModelNode response, OperationParameter operationParameter)
-
-
-
Method Detail
-
writeResponse
public static void writeResponse(io.undertow.server.HttpServerExchange exchange, int status, org.jboss.dmr.ModelNode response, OperationParameter operationParameter)
-
constructUrl
public 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.- Parameters:
exchange- - The current HttpExchangepath- - The path to include in the constructed URL- Returns:
- The constructed URL
-
-