Package net.webpdf.wsclient.openapi
Class ApplicationConfigProxy
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ApplicationConfigProxy
-
public class ApplicationConfigProxy extends Object
Defines a proxy server that shall be known to and used by the server to access external resources.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HOSTstatic StringJSON_PROPERTY_NON_PROXY_HOSTstatic StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_PORTstatic StringJSON_PROPERTY_SCHEMEstatic StringJSON_PROPERTY_USER_NAME
-
Constructor Summary
Constructors Constructor Description ApplicationConfigProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfigProxyaddNonProxyHostItem(ApplicationConfigProxyNonHost nonProxyHostItem)booleanequals(Object o)@Nullable StringgetHost()The address of the proxy server.@Nullable List<ApplicationConfigProxyNonHost>getNonProxyHost()Get nonProxyHost@Nullable StringgetPassword()The password of the user required to authenticate with the proxy server.@Nullable IntegergetPort()The port on which the proxy listens.@Nullable StringgetScheme()The scheme to access the proxy server (currently only \"http\" or \"https\" are allowed).@Nullable StringgetUserName()The name of the user required to authenticate with the proxy server.inthashCode()ApplicationConfigProxyhost(String host)ApplicationConfigProxynonProxyHost(List<ApplicationConfigProxyNonHost> nonProxyHost)ApplicationConfigProxypassword(String password)ApplicationConfigProxyport(Integer port)ApplicationConfigProxyscheme(String scheme)voidsetHost(String host)voidsetNonProxyHost(List<ApplicationConfigProxyNonHost> nonProxyHost)voidsetPassword(String password)voidsetPort(Integer port)voidsetScheme(String scheme)voidsetUserName(String userName)StringtoString()ApplicationConfigProxyuserName(String userName)
-
-
-
Field Detail
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NON_PROXY_HOST
public static final String JSON_PROPERTY_NON_PROXY_HOST
- 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_SCHEME
public static final String JSON_PROPERTY_SCHEME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_NAME
public static final String JSON_PROPERTY_USER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
host
public ApplicationConfigProxy host(String host)
-
getHost
@Nullable public @Nullable String getHost()
The address of the proxy server.- Returns:
- host
-
setHost
public void setHost(String host)
-
nonProxyHost
public ApplicationConfigProxy nonProxyHost(List<ApplicationConfigProxyNonHost> nonProxyHost)
-
addNonProxyHostItem
public ApplicationConfigProxy addNonProxyHostItem(ApplicationConfigProxyNonHost nonProxyHostItem)
-
getNonProxyHost
@Nullable public @Nullable List<ApplicationConfigProxyNonHost> getNonProxyHost()
Get nonProxyHost- Returns:
- nonProxyHost
-
setNonProxyHost
public void setNonProxyHost(List<ApplicationConfigProxyNonHost> nonProxyHost)
-
password
public ApplicationConfigProxy password(String password)
-
getPassword
@Nullable public @Nullable String getPassword()
The password of the user required to authenticate with the proxy server.- Returns:
- password
-
setPassword
public void setPassword(String password)
-
port
public ApplicationConfigProxy port(Integer port)
-
getPort
@Nullable public @Nullable Integer getPort()
The port on which the proxy listens. minimum: 0- Returns:
- port
-
setPort
public void setPort(Integer port)
-
scheme
public ApplicationConfigProxy scheme(String scheme)
-
getScheme
@Nullable public @Nullable String getScheme()
The scheme to access the proxy server (currently only \"http\" or \"https\" are allowed).- Returns:
- scheme
-
setScheme
public void setScheme(String scheme)
-
userName
public ApplicationConfigProxy userName(String userName)
-
getUserName
@Nullable public @Nullable String getUserName()
The name of the user required to authenticate with the proxy server.- Returns:
- userName
-
setUserName
public void setUserName(String userName)
-
-