public class DefaultHttpRequestOptions extends Object implements HttpRequestOptions
HttpRequestOptions
Constructor and Description |
---|
DefaultHttpRequestOptions(String method,
Boolean followsRedirect,
HttpStreamingType requestStreamingMode,
HttpRequesterConfig requestConfig,
boolean disableStatusCodeValidation,
boolean disableParseResponse,
TlsContextFactory tlsContextFactory,
Long responseTimeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getMethod() |
HttpRequesterConfig |
getRequesterConfig() |
HttpStreamingType |
getRequestStreamingMode() |
Long |
getResponseTimeout() |
TlsContextFactory |
getTlsContextFactory() |
int |
hashCode() |
Boolean |
isFollowsRedirect() |
boolean |
isParseResponseDisabled() |
boolean |
isStatusCodeValidationDisabled() |
public DefaultHttpRequestOptions(String method, Boolean followsRedirect, HttpStreamingType requestStreamingMode, HttpRequesterConfig requestConfig, boolean disableStatusCodeValidation, boolean disableParseResponse, TlsContextFactory tlsContextFactory, Long responseTimeout)
public String getMethod()
getMethod
in interface HttpRequestOptions
public HttpStreamingType getRequestStreamingMode()
getRequestStreamingMode
in interface HttpRequestOptions
public boolean isParseResponseDisabled()
isParseResponseDisabled
in interface HttpRequestOptions
public HttpRequesterConfig getRequesterConfig()
getRequesterConfig
in interface HttpRequestOptions
HttpRequesterConfig
to use for sending the requestpublic Boolean isFollowsRedirect()
isFollowsRedirect
in interface HttpRequestOptions
public Long getResponseTimeout()
getResponseTimeout
in interface OperationOptions
getResponseTimeout
in interface HttpRequestOptions
public boolean isStatusCodeValidationDisabled()
isStatusCodeValidationDisabled
in interface HttpRequestOptions
public TlsContextFactory getTlsContextFactory()
getTlsContextFactory
in interface HttpRequestOptions
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.