Package net.webpdf.wsclient.openapi
Class OperationHttpProxy
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationHttpProxy
-
public class OperationHttpProxy extends Object
Used to define the proxy and the access information if the resource must be fetched through a proxy.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_PORTstatic StringJSON_PROPERTY_USER_NAME
-
Constructor Summary
Constructors Constructor Description OperationHttpProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationHttpProxyaddress(String address)booleanequals(Object o)@Nullable StringgetAddress()The address at which the proxy server can be reached.@Nullable StringgetPassword()Password if access to the proxy service requires authentication.@Nullable IntegergetPort()The port that should be used to access the proxy server.@Nullable StringgetUserName()Username if access to the proxy service requires authentication.inthashCode()OperationHttpProxypassword(String password)OperationHttpProxyport(Integer port)voidsetAddress(String address)voidsetPassword(String password)voidsetPort(Integer port)voidsetUserName(String userName)StringtoString()OperationHttpProxyuserName(String userName)
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_NAME
public static final String JSON_PROPERTY_USER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public OperationHttpProxy address(String address)
-
getAddress
@Nullable public @Nullable String getAddress()
The address at which the proxy server can be reached.- Returns:
- address
-
setAddress
public void setAddress(String address)
-
password
public OperationHttpProxy password(String password)
-
getPassword
@Nullable public @Nullable String getPassword()
Password if access to the proxy service requires authentication.- Returns:
- password
-
setPassword
public void setPassword(String password)
-
port
public OperationHttpProxy port(Integer port)
-
getPort
@Nullable public @Nullable Integer getPort()
The port that should be used to access the proxy server. minimum: 0- Returns:
- port
-
setPort
public void setPort(Integer port)
-
userName
public OperationHttpProxy userName(String userName)
-
getUserName
@Nullable public @Nullable String getUserName()
Username if access to the proxy service requires authentication.- Returns:
- userName
-
setUserName
public void setUserName(String userName)
-
-