Package ratpack.http.client
Interface ProxyCredentials
-
public interface ProxyCredentialsCredentials to use when using a HTTP proxy that requires authentication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPassword()The password to use when connecting to the proxy.java.lang.StringgetUsername()The username to use when connecting to the proxy.
-
-
-
Method Detail
-
getUsername
java.lang.String getUsername()
The username to use when connecting to the proxy.- Returns:
- The username to use when connecting to the HTTP proxy.
-
getPassword
java.lang.String getPassword()
The password to use when connecting to the proxy.- Returns:
- Either the password to use when connecting to the HTTP proxy.
-
-