Package io.hawt.web.proxy
Class ProxyDetails
java.lang.Object
io.hawt.web.proxy.ProxyDetails
- All Implemented Interfaces:
ProxyAddress
A helper object to store the proxy location details
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProxyDetails(jakarta.servlet.http.HttpServletRequest httpServletRequest) ProxyDetails(String pathInfo) -
Method Summary
-
Field Details
-
USER_PARAM
- See Also:
-
PWD_PARAM
- See Also:
-
-
Constructor Details
-
ProxyDetails
public ProxyDetails(jakarta.servlet.http.HttpServletRequest httpServletRequest) -
ProxyDetails
-
-
Method Details
-
isAllowed
-
isAllowed
-
getFullProxyUrl
- Specified by:
getFullProxyUrlin interfaceProxyAddress
-
toString
-
indexOf
Returns the lowest index of the given list of values -
getStringProxyURL
-
getProxyHostAndPort
-
getProxyPath
-
getScheme
-
getHost
-
getPort
public int getPort() -
getUserName
- Specified by:
getUserNamein interfaceProxyAddress
-
getPassword
- Specified by:
getPasswordin interfaceProxyAddress
-
getHostAndPort
-
getPath
-
isValid
public boolean isValid()
-