public final class HttpRequestHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getFirstHeader(String name,
org.apache.http.HttpRequest request) |
static org.apache.http.HttpHost |
getHost(org.apache.http.HttpRequest request)
Returns the target host as defined in the Host header or extracted from the request URI.
|
static String |
getParameter(DriverRequest request,
String name) |
public static String getFirstHeader(String name, org.apache.http.HttpRequest request)
public static String getParameter(DriverRequest request, String name)
public static org.apache.http.HttpHost getHost(org.apache.http.HttpRequest request)
request
- Copyright © 2008–2018. All rights reserved.