public interface UrlInvocationHandlerStrategy
| Modifier and Type | Method and Description |
|---|---|
URL |
buildURL(Object proxy,
Method m,
Object[] args) |
byte[] |
generatePostData(Object proxy,
Method m,
Object[] args) |
void |
getCookies(URLConnection c) |
int |
getRetryAttempts() |
long |
getRetrySleepTime() |
Object |
readResponse(URLConnection c) |
void |
setCookies(URLConnection c) |
void |
setRequestHeaders(URLConnection c) |
URL buildURL(Object proxy, Method m, Object[] args) throws MalformedURLException
MalformedURLExceptionint getRetryAttempts()
long getRetrySleepTime()
void setCookies(URLConnection c)
void getCookies(URLConnection c)
void setRequestHeaders(URLConnection c)
byte[] generatePostData(Object proxy, Method m, Object[] args) throws IOException
proxy - Proxy objectm - Method to be calledargs - Object[] Arguments to methodIOExceptionObject readResponse(URLConnection c) throws IOException
c - HttpConnectionObject from which to receive data.IOExceptionCopyright © 2016. All rights reserved.