Class UrlConfigDefaults
-
- All Implemented Interfaces:
-
java.io.Serializable
public class UrlConfigDefaults implements Serializable
Default option value settings for UrlConfigGui.
-
-
Field Summary
Fields Modifier and Type Field Description public StringdefaultMethod
-
Constructor Summary
Constructors Constructor Description UrlConfigDefaults()
-
Method Summary
Modifier and Type Method Description StringgetDefaultMethod()Return the default HTTP method to be selected in the UrlConfigGui. voidsetDefaultMethod(String defaultMethod)Set the default HTTP method to be selected in the UrlConfigGui. Array<String>getValidMethods()Return available HTTP methods to be shown in the UrlConfigGui, returning getValidMethodsAsArray by default if not reset. voidsetValidMethods(Array<String> validMethods)Set available HTTP methods to be shown in the UrlConfigGui. booleanisFollowRedirects()booleanisAutoRedirects()booleanisUseKeepAlive()booleanisUseMultipart()booleanisUseBrowserCompatibleMultipartMode()booleanisFollowRedirectsVisible()booleanisAutoRedirectsVisible()booleanisUseKeepAliveVisible()booleanisUseMultipartVisible()booleanisUseBrowserCompatibleMultipartModeVisible()voidsetFollowRedirects(boolean followRedirects)Set the default value to be set for the followRedirect checkbox in the UrlConfigGui. voidsetAutoRedirects(boolean autoRedirects)Set the default value to be set for the autoRedirects checkbox in the UrlConfigGui. voidsetUseKeepAlive(boolean useKeepAlive)Set the default value to be set for the useKeepAlive checkbox in the UrlConfigGui. voidsetUseMultipart(boolean useMultipart)Set the default value to be set for the useMultipart checkbox in the UrlConfigGui. voidsetUseBrowserCompatibleMultipartMode(boolean useBrowserCompatibleMultipartMode)Set the default value to be set for the useBrowserCompatibleMultipartMode checkbox in the UrlConfigGui. voidsetFollowRedirectsVisible(boolean followRedirectsVisible)Set the visibility of the followRedirect checkbox in the UrlConfigGui. voidsetAutoRedirectsVisible(boolean autoRedirectsVisible)Set the visibility of the autoRedirectsVisible checkbox in the UrlConfigGui. voidsetUseKeepAliveVisible(boolean useKeepAliveVisible)Set the visibility of the useKeepAliveVisible checkbox in the UrlConfigGui. voidsetUseMultipartVisible(boolean useMultipartVisible)Set the visibility of the useMultipartVisible checkbox in the UrlConfigGui. voidsetUseBrowserCompatibleMultipartModeVisible(boolean useBrowserCompatibleMultipartModeVisible)Set the visibility of the useBrowserCompatibleMultipartModeVisible checkbox in the UrlConfigGui. -
-
Method Detail
-
getDefaultMethod
@Deprecated() String getDefaultMethod()
Return the default HTTP method to be selected in the UrlConfigGui.
- Returns:
the default HTTP method to be selected in the UrlConfigGui
-
setDefaultMethod
@Deprecated() void setDefaultMethod(String defaultMethod)
Set the default HTTP method to be selected in the UrlConfigGui.
- Parameters:
defaultMethod- the default HTTP method to be selected in the UrlConfigGui
-
getValidMethods
Array<String> getValidMethods()
Return available HTTP methods to be shown in the UrlConfigGui, returning getValidMethodsAsArray by default if not reset.
- Returns:
available HTTP methods to be shown in the UrlConfigGui
-
setValidMethods
void setValidMethods(Array<String> validMethods)
Set available HTTP methods to be shown in the UrlConfigGui.
- Parameters:
validMethods- available HTTP methods
-
isFollowRedirects
@Deprecated() boolean isFollowRedirects()
- Returns:
the default value to be set for the followRedirect checkbox in the UrlConfigGui.
-
isAutoRedirects
@Deprecated() boolean isAutoRedirects()
- Returns:
the default value to be set for the autoRedirects checkbox in the UrlConfigGui.
-
isUseKeepAlive
@Deprecated() boolean isUseKeepAlive()
- Returns:
the default value to be set for the useKeepAlive checkbox in the UrlConfigGui.
-
isUseMultipart
@Deprecated() boolean isUseMultipart()
- Returns:
the default value to be set for the useMultipart checkbox in the UrlConfigGui.
-
isUseBrowserCompatibleMultipartMode
@Deprecated() boolean isUseBrowserCompatibleMultipartMode()
- Returns:
the default value to be set for the useBrowserCompatibleMultipartMode checkbox in the UrlConfigGui.
-
isFollowRedirectsVisible
boolean isFollowRedirectsVisible()
- Returns:
trueif the followRedirect checkbox should be visible in the UrlConfigGui.
-
isAutoRedirectsVisible
boolean isAutoRedirectsVisible()
- Returns:
true if the autoRedirectsVisible checkbox should be visible in the UrlConfigGui.
-
isUseKeepAliveVisible
boolean isUseKeepAliveVisible()
- Returns:
trueif the useKeepAliveVisible checkbox should be visible in the UrlConfigGui.
-
isUseMultipartVisible
boolean isUseMultipartVisible()
- Returns:
trueif the useMultipartVisible checkbox should by default in the UrlConfigGui.
-
isUseBrowserCompatibleMultipartModeVisible
boolean isUseBrowserCompatibleMultipartModeVisible()
- Returns:
trueif the useBrowserCompatibleMultipartModeVisible checkbox should be visible in the UrlConfigGui.
-
setFollowRedirects
@Deprecated() void setFollowRedirects(boolean followRedirects)
Set the default value to be set for the followRedirect checkbox in the UrlConfigGui.
- Parameters:
followRedirects- flag whether redirects should be followed
-
setAutoRedirects
@Deprecated() void setAutoRedirects(boolean autoRedirects)
Set the default value to be set for the autoRedirects checkbox in the UrlConfigGui.
- Parameters:
autoRedirects- flag whether redirects should be followed automatically
-
setUseKeepAlive
@Deprecated() void setUseKeepAlive(boolean useKeepAlive)
Set the default value to be set for the useKeepAlive checkbox in the UrlConfigGui.
- Parameters:
useKeepAlive- flag whether to use keep-alive on HTTP requests
-
setUseMultipart
@Deprecated() void setUseMultipart(boolean useMultipart)
Set the default value to be set for the useMultipart checkbox in the UrlConfigGui.
- Parameters:
useMultipart- flag whether request data should use multi-part feature
-
setUseBrowserCompatibleMultipartMode
@Deprecated() void setUseBrowserCompatibleMultipartMode(boolean useBrowserCompatibleMultipartMode)
Set the default value to be set for the useBrowserCompatibleMultipartMode checkbox in the UrlConfigGui.
- Parameters:
useBrowserCompatibleMultipartMode- flag whether to use browser compatible multi-part mode
-
setFollowRedirectsVisible
void setFollowRedirectsVisible(boolean followRedirectsVisible)
Set the visibility of the followRedirect checkbox in the UrlConfigGui.
- Parameters:
followRedirectsVisible- flag to toggle visibility in GUI
-
setAutoRedirectsVisible
void setAutoRedirectsVisible(boolean autoRedirectsVisible)
Set the visibility of the autoRedirectsVisible checkbox in the UrlConfigGui.
- Parameters:
autoRedirectsVisible- flag to toggle visibility in GUI
-
setUseKeepAliveVisible
void setUseKeepAliveVisible(boolean useKeepAliveVisible)
Set the visibility of the useKeepAliveVisible checkbox in the UrlConfigGui.
- Parameters:
useKeepAliveVisible- flag to toggle visibility in GUI
-
setUseMultipartVisible
void setUseMultipartVisible(boolean useMultipartVisible)
Set the visibility of the useMultipartVisible checkbox in the UrlConfigGui.
- Parameters:
useMultipartVisible- flag to toggle visibility in GUI
-
setUseBrowserCompatibleMultipartModeVisible
void setUseBrowserCompatibleMultipartModeVisible(boolean useBrowserCompatibleMultipartModeVisible)
Set the visibility of the useBrowserCompatibleMultipartModeVisible checkbox in the UrlConfigGui.
- Parameters:
useBrowserCompatibleMultipartModeVisible- flag to toggle visibility in GUI
-
-
-
-