@Deprecated public class DefaultRestClientConfiguration extends Object implements RestClientConfiguration
RestClientConfiguration.| Constructor and Description |
|---|
DefaultRestClientConfiguration()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding()
Deprecated.
|
String |
getRestPassword()
Deprecated.
|
URL |
getRestUrl()
Deprecated.
|
String |
getRestUsername()
Deprecated.
|
boolean |
isAnonymous()
Deprecated.
|
boolean |
isVerbose()
Deprecated.
|
void |
setAnonymous(boolean anonymous)
Deprecated.
|
void |
setEncoding(String encoding)
Deprecated.
|
void |
setRestPassword(String restPassword)
Deprecated.
|
void |
setRestUrl(URL restUrl)
Deprecated.
|
void |
setRestUsername(String restUsername)
Deprecated.
|
void |
setVerbose(boolean verbose)
Deprecated.
|
String |
toString()
Deprecated.
|
public DefaultRestClientConfiguration()
public String getEncoding()
getEncoding in interface RestClientConfigurationpublic void setEncoding(String encoding)
setEncoding in interface RestClientConfigurationencoding - the encodng used to encode request to setpublic String getRestPassword()
getRestPassword in interface RestClientConfigurationpublic void setRestPassword(String restPassword)
setRestPassword in interface RestClientConfigurationrestPassword - the password to connect to server to setpublic URL getRestUrl()
getRestUrl in interface RestClientConfigurationpublic void setRestUrl(URL restUrl)
setRestUrl in interface RestClientConfigurationrestUrl - the url of server to setpublic String getRestUsername()
getRestUsername in interface RestClientConfigurationpublic void setRestUsername(String restUsername)
setRestUsername in interface RestClientConfigurationrestUsername - the username to connect to server to setpublic boolean isVerbose()
isVerbose in interface RestClientConfigurationtrue to make verbose client (show request and parameters)public void setVerbose(boolean verbose)
setVerbose in interface RestClientConfigurationverbose - the flag verbose to setpublic boolean isAnonymous()
isAnonymous in interface RestClientConfigurationtrue if rest client does not need loginpublic void setAnonymous(boolean anonymous)
setAnonymous in interface RestClientConfigurationanonymous - the flag anonymous to setCopyright © 2009-2012 CodeLutin. All Rights Reserved.