Package net.webpdf.wsclient.openapi
Class OperationHttpSettings
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationHttpSettings
-
public class OperationHttpSettings extends Object
Defines the options for all external HTTP requests made by the server during the execution of the web service operation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FOLLOW_REDIRECTstatic StringJSON_PROPERTY_HEADERSstatic StringJSON_PROPERTY_SSLstatic StringJSON_PROPERTY_TIMEOUTstatic StringJSON_PROPERTY_USER_AGENT
-
Constructor Summary
Constructors Constructor Description OperationHttpSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OperationHttpSettingsfollowRedirect(Boolean followRedirect)@Nullable BooleangetFollowRedirect()Get followRedirect@Nullable OperationHttpSettingsHeadergetHeaders()Get headers@Nullable OperationHttpSettingsSSLgetSsl()Get ssl@Nullable OperationHttpSettingsTimeoutgetTimeout()Get timeout@Nullable StringgetUserAgent()Get userAgentinthashCode()OperationHttpSettingsheaders(OperationHttpSettingsHeader headers)voidsetFollowRedirect(Boolean followRedirect)voidsetHeaders(OperationHttpSettingsHeader headers)voidsetSsl(OperationHttpSettingsSSL ssl)voidsetTimeout(OperationHttpSettingsTimeout timeout)voidsetUserAgent(String userAgent)OperationHttpSettingsssl(OperationHttpSettingsSSL ssl)OperationHttpSettingstimeout(OperationHttpSettingsTimeout timeout)StringtoString()OperationHttpSettingsuserAgent(String userAgent)
-
-
-
Field Detail
-
JSON_PROPERTY_FOLLOW_REDIRECT
public static final String JSON_PROPERTY_FOLLOW_REDIRECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEADERS
public static final String JSON_PROPERTY_HEADERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSL
public static final String JSON_PROPERTY_SSL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_AGENT
public static final String JSON_PROPERTY_USER_AGENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
followRedirect
public OperationHttpSettings followRedirect(Boolean followRedirect)
-
getFollowRedirect
@Nullable public @Nullable Boolean getFollowRedirect()
Get followRedirect- Returns:
- followRedirect
-
setFollowRedirect
public void setFollowRedirect(Boolean followRedirect)
-
headers
public OperationHttpSettings headers(OperationHttpSettingsHeader headers)
-
getHeaders
@Nullable public @Nullable OperationHttpSettingsHeader getHeaders()
Get headers- Returns:
- headers
-
setHeaders
public void setHeaders(OperationHttpSettingsHeader headers)
-
ssl
public OperationHttpSettings ssl(OperationHttpSettingsSSL ssl)
-
getSsl
@Nullable public @Nullable OperationHttpSettingsSSL getSsl()
Get ssl- Returns:
- ssl
-
setSsl
public void setSsl(OperationHttpSettingsSSL ssl)
-
timeout
public OperationHttpSettings timeout(OperationHttpSettingsTimeout timeout)
-
getTimeout
@Nullable public @Nullable OperationHttpSettingsTimeout getTimeout()
Get timeout- Returns:
- timeout
-
setTimeout
public void setTimeout(OperationHttpSettingsTimeout timeout)
-
userAgent
public OperationHttpSettings userAgent(String userAgent)
-
getUserAgent
@Nullable public @Nullable String getUserAgent()
Get userAgent- Returns:
- userAgent
-
setUserAgent
public void setUserAgent(String userAgent)
-
-