public interface RestClientConfiguration
RestClient.| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding() |
String |
getRestPassword() |
URL |
getRestUrl() |
String |
getRestUsername() |
boolean |
isAnonymous() |
boolean |
isVerbose() |
void |
setAnonymous(boolean anonymous) |
void |
setEncoding(String encoding) |
void |
setRestPassword(String restPassword) |
void |
setRestUrl(URL restUrl) |
void |
setRestUsername(String restUsername) |
void |
setVerbose(boolean verbose) |
URL getRestUrl()
String getEncoding()
String getRestUsername()
String getRestPassword()
boolean isVerbose()
true to make verbose client (show request and parameters)boolean isAnonymous()
true if rest client does not need loginvoid setRestUrl(URL restUrl)
restUrl - the url of server to setvoid setRestPassword(String restPassword)
restPassword - the password to connect to server to setvoid setRestUsername(String restUsername)
restUsername - the username to connect to server to setvoid setEncoding(String encoding)
encoding - the encodng used to encode request to setvoid setVerbose(boolean verbose)
verbose - the flag verbose to setvoid setAnonymous(boolean anonymous)
anonymous - the flag anonymous to setCopyright © 2009-2012 CodeLutin. All Rights Reserved.