public class ProxyDetails extends Object implements ProxyAddress
| Modifier and Type | Field and Description |
|---|---|
static String |
PWD_PARAM |
static String |
USER_PARAM |
| Constructor and Description |
|---|
ProxyDetails(javax.servlet.http.HttpServletRequest httpServletRequest) |
ProxyDetails(String pathInfo) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullProxyUrl() |
String |
getHost() |
String |
getHostAndPort() |
String |
getPassword() |
String |
getPath() |
int |
getPort() |
String |
getProxyHostAndPort() |
String |
getProxyPath() |
String |
getScheme() |
String |
getStringProxyURL() |
String |
getUserName() |
protected int |
indexOf(String text,
String... values)
Returns the lowest index of the given list of values
|
boolean |
isAllowed(List<Pattern> regexAllowlist) |
boolean |
isAllowed(Set<String> allowlist) |
boolean |
isValid() |
String |
toString() |
public static final String USER_PARAM
public static final String PWD_PARAM
public ProxyDetails(javax.servlet.http.HttpServletRequest httpServletRequest)
public ProxyDetails(String pathInfo)
public String getFullProxyUrl()
getFullProxyUrl in interface ProxyAddressprotected int indexOf(String text, String... values)
public String getStringProxyURL()
public String getProxyHostAndPort()
public String getProxyPath()
public String getScheme()
public String getHost()
public int getPort()
public String getUserName()
getUserName in interface ProxyAddresspublic String getPassword()
getPassword in interface ProxyAddresspublic String getHostAndPort()
public String getPath()
public boolean isValid()
Copyright © 2020 JBoss by Red Hat. All rights reserved.