Package com.realobjects.pdfreactor
Class Configuration.HttpCredentials
java.lang.Object
com.realobjects.pdfreactor.Configuration.HttpCredentials
- Enclosing class:
Configuration
An object containing HTTP authentication credentials data.
-
Method Summary
Modifier and TypeMethodDescriptionsetAuthScheme
(Configuration.HttpAuthScheme authScheme) The authentication scheme for which these credentials are intended to be used.The host for which these credentials are intended to be used.setPassword
(String password) The authentication password.The port for which these credentials are intended to be used.setProtocol
(Configuration.HttpProtocol protocol) The protocol for which these credentials are intended to be used.The realm for which these credentials are intended to be used.setUsername
(String username) The authentication user name.
-
Method Details
-
setUsername
The authentication user name.
-
setPassword
The authentication password.
-
setProtocol
The protocol for which these credentials are intended to be used.
A value of
null
means any protocol.- Returns:
- The current
Configuration.HttpCredentials
instance.
-
setHost
The host for which these credentials are intended to be used.
A value of
null
means any host.- Returns:
- The current
Configuration.HttpCredentials
instance.
-
setPort
The port for which these credentials are intended to be used.
A value of
null
or-1
means any port.- Returns:
- The current
Configuration.HttpCredentials
instance.
-
setRealm
The realm for which these credentials are intended to be used.
A value of
null
means any realm.- Returns:
- The current
Configuration.HttpCredentials
instance.
-
setAuthScheme
The authentication scheme for which these credentials are intended to be used.
A value of
null
means any scheme.- Returns:
- The current
Configuration.HttpCredentials
instance.
-