Package net.webpdf.wsclient.openapi
Class OperationHttpBasicAuth
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationHttpBasicAuth
-
public class OperationHttpBasicAuth extends Object
Used to define the appropriate login information if access to the resource requires a login using the \"Basic Authentication\" method.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_USER_NAME
-
Constructor Summary
Constructors Constructor Description OperationHttpBasicAuth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetPassword()Password if the URL requests an authentication of the \"Basic Authentication\" type.@Nullable StringgetUserName()Username if the URL requests an authentication of the \"Basic Authentication\" type.inthashCode()OperationHttpBasicAuthpassword(String password)voidsetPassword(String password)voidsetUserName(String userName)StringtoString()OperationHttpBasicAuthuserName(String userName)
-
-
-
Field Detail
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_NAME
public static final String JSON_PROPERTY_USER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
password
public OperationHttpBasicAuth password(String password)
-
getPassword
@Nullable public @Nullable String getPassword()
Password if the URL requests an authentication of the \"Basic Authentication\" type.- Returns:
- password
-
setPassword
public void setPassword(String password)
-
userName
public OperationHttpBasicAuth userName(String userName)
-
getUserName
@Nullable public @Nullable String getUserName()
Username if the URL requests an authentication of the \"Basic Authentication\" type.- Returns:
- userName
-
setUserName
public void setUserName(String userName)
-
-