public class BasicDigestAuthorization extends Object implements Authorization
| Constructor and Description |
|---|
BasicDigestAuthorization(boolean basic)
Constructor setting if the authorization is a Basic typed one.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
Host value getter.
|
String |
getPassword()
Password value getter.
|
Integer |
getPort()
Port value getter.
|
String |
getRealm()
Realm value getter.
|
String |
getUsername()
Username value getter.
|
boolean |
isBasic()
Basic value getter.
|
boolean |
isPreemptive()
Preemptive value getter.
|
void |
setBasic(boolean basic)
Basic value setter.
|
void |
setHost(String host)
Host value setter.
|
void |
setPassword(String password)
Password value setter.
|
void |
setPort(Integer port)
Port value setter.
|
void |
setPreemptive(boolean isPreemptive)
Preemptive value setter.
|
void |
setRealm(String realm)
Realm value setter.
|
void |
setUsername(String username)
Username value setter.
|
public BasicDigestAuthorization(boolean basic)
basic - States if it is a Basic authorization.public String getUsername()
public void setUsername(String username)
username - The new username value.public String getPassword()
public void setPassword(String password)
password - The new password value.public String getHost()
public void setHost(String host)
host - The new Host value.public Integer getPort()
public void setPort(Integer port)
port - The new Port value.public String getRealm()
public void setRealm(String realm)
realm - The new realm value.public boolean isPreemptive()
public void setPreemptive(boolean isPreemptive)
isPreemptive - The new preemptive value.public boolean isBasic()
public void setBasic(boolean basic)
basic - The new basic value.Copyright © 2021. All rights reserved.