Class UrlConfigDefaults
java.lang.Object
org.apache.jmeter.protocol.http.config.gui.UrlConfigDefaults
- All Implemented Interfaces:
- Serializable
Default option value settings for 
UrlConfigGui.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.String[]Return available HTTP methods to be shown in theUrlConfigGui, returningHTTPSamplerBase.getValidMethodsAsArray()by default if not reset.booleanDeprecated.booleanbooleanDeprecated.booleanbooleanDeprecated.booleanbooleanDeprecated.booleanbooleanDeprecated.booleanvoidsetAutoRedirects(boolean autoRedirects) Deprecated.voidsetAutoRedirectsVisible(boolean autoRedirectsVisible) Set the visibility of the autoRedirectsVisible checkbox in theUrlConfigGui.voidsetDefaultMethod(String defaultMethod) Deprecated.voidsetFollowRedirects(boolean followRedirects) Deprecated.voidsetFollowRedirectsVisible(boolean followRedirectsVisible) Set the visibility of the followRedirect checkbox in theUrlConfigGui.voidsetUseBrowserCompatibleMultipartMode(boolean useBrowserCompatibleMultipartMode) Deprecated.voidsetUseBrowserCompatibleMultipartModeVisible(boolean useBrowserCompatibleMultipartModeVisible) Set the visibility of the useBrowserCompatibleMultipartModeVisible checkbox in theUrlConfigGui.voidsetUseKeepAlive(boolean useKeepAlive) Deprecated.voidsetUseKeepAliveVisible(boolean useKeepAliveVisible) Set the visibility of the useKeepAliveVisible checkbox in theUrlConfigGui.voidsetUseMultipart(boolean useMultipart) Deprecated.voidsetUseMultipartVisible(boolean useMultipartVisible) Set the visibility of the useMultipartVisible checkbox in theUrlConfigGui.voidsetValidMethods(String[] validMethods) Set available HTTP methods to be shown in theUrlConfigGui.
- 
Constructor Details- 
UrlConfigDefaultspublic UrlConfigDefaults()
 
- 
- 
Method Details- 
getValidMethodsReturn available HTTP methods to be shown in theUrlConfigGui, returningHTTPSamplerBase.getValidMethodsAsArray()by default if not reset.- Returns:
- available HTTP methods to be shown in the UrlConfigGui
 
- 
setValidMethodsSet available HTTP methods to be shown in theUrlConfigGui.- Parameters:
- validMethods- available HTTP methods
- Throws:
- IllegalArgumentException- if the input array is empty
 
- 
getDefaultMethodDeprecated.Return the default HTTP method to be selected in theUrlConfigGui.- Returns:
- the default HTTP method to be selected in the UrlConfigGui
 
- 
setDefaultMethodDeprecated.Set the default HTTP method to be selected in theUrlConfigGui.- Parameters:
- defaultMethod- the default HTTP method to be selected in the- UrlConfigGui
 
- 
isFollowRedirectsDeprecated.- Returns:
- the default value to be set for the followRedirect checkbox in the UrlConfigGui.
 
- 
setFollowRedirectsDeprecated.Set the default value to be set for the followRedirect checkbox in theUrlConfigGui.- Parameters:
- followRedirects- flag whether redirects should be followed
 
- 
isAutoRedirectsDeprecated.- Returns:
- the default value to be set for the autoRedirects checkbox in the UrlConfigGui.
 
- 
setAutoRedirectsDeprecated.Set the default value to be set for the autoRedirects checkbox in theUrlConfigGui.- Parameters:
- autoRedirects- flag whether redirects should be followed automatically
 
- 
isUseKeepAliveDeprecated.- Returns:
- the default value to be set for the useKeepAlive checkbox in the UrlConfigGui.
 
- 
setUseKeepAliveDeprecated.Set the default value to be set for the useKeepAlive checkbox in theUrlConfigGui.- Parameters:
- useKeepAlive- flag whether to use keep-alive on HTTP requests
 
- 
isUseMultipartDeprecated.- Returns:
- the default value to be set for the useMultipart checkbox in the UrlConfigGui.
 
- 
setUseMultipartDeprecated.Set the default value to be set for the useMultipart checkbox in theUrlConfigGui.- Parameters:
- useMultipart- flag whether request data should use multi-part feature
 
- 
isUseBrowserCompatibleMultipartModeDeprecated.- Returns:
- the default value to be set for the useBrowserCompatibleMultipartMode checkbox in the UrlConfigGui.
 
- 
setUseBrowserCompatibleMultipartMode@Deprecated public void setUseBrowserCompatibleMultipartMode(boolean useBrowserCompatibleMultipartMode) Deprecated.Set the default value to be set for the useBrowserCompatibleMultipartMode checkbox in theUrlConfigGui.- Parameters:
- useBrowserCompatibleMultipartMode- flag whether to use browser compatible multi-part mode
 
- 
isFollowRedirectsVisiblepublic boolean isFollowRedirectsVisible()- Returns:
- trueif the followRedirect checkbox should be visible in the- UrlConfigGui.
 
- 
setFollowRedirectsVisiblepublic void setFollowRedirectsVisible(boolean followRedirectsVisible) Set the visibility of the followRedirect checkbox in theUrlConfigGui.- Parameters:
- followRedirectsVisible- flag to toggle visibility in GUI
 
- 
isAutoRedirectsVisiblepublic boolean isAutoRedirectsVisible()- Returns:
- true if the autoRedirectsVisible checkbox should be visible in the UrlConfigGui.
 
- 
setAutoRedirectsVisiblepublic void setAutoRedirectsVisible(boolean autoRedirectsVisible) Set the visibility of the autoRedirectsVisible checkbox in theUrlConfigGui.- Parameters:
- autoRedirectsVisible- flag to toggle visibility in GUI
 
- 
isUseKeepAliveVisiblepublic boolean isUseKeepAliveVisible()- Returns:
- trueif the useKeepAliveVisible checkbox should be visible in the- UrlConfigGui.
 
- 
setUseKeepAliveVisiblepublic void setUseKeepAliveVisible(boolean useKeepAliveVisible) Set the visibility of the useKeepAliveVisible checkbox in theUrlConfigGui.- Parameters:
- useKeepAliveVisible- flag to toggle visibility in GUI
 
- 
isUseMultipartVisiblepublic boolean isUseMultipartVisible()- Returns:
- trueif the useMultipartVisible checkbox should by default in the- UrlConfigGui.
 
- 
setUseMultipartVisiblepublic void setUseMultipartVisible(boolean useMultipartVisible) Set the visibility of the useMultipartVisible checkbox in theUrlConfigGui.- Parameters:
- useMultipartVisible- flag to toggle visibility in GUI
 
- 
isUseBrowserCompatibleMultipartModeVisiblepublic boolean isUseBrowserCompatibleMultipartModeVisible()- Returns:
- trueif the useBrowserCompatibleMultipartModeVisible checkbox should be visible in the- UrlConfigGui.
 
- 
setUseBrowserCompatibleMultipartModeVisiblepublic void setUseBrowserCompatibleMultipartModeVisible(boolean useBrowserCompatibleMultipartModeVisible) Set the visibility of the useBrowserCompatibleMultipartModeVisible checkbox in theUrlConfigGui.- Parameters:
- useBrowserCompatibleMultipartModeVisible- flag to toggle visibility in GUI
 
 
-