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() |
Object |
readResponse(URLConnection c) |
void |
setCookies(URLConnection c) |
void |
setRequestHeaders(URLConnection c) |
URL buildURL(Object proxy, Method m, Object[] args) throws MalformedURLException
MalformedURLException
int getRetryAttempts()
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 methodIOException
Object readResponse(URLConnection c) throws IOException
c
- HttpConnectionObject from which to receive data.IOException
Copyright © 2015. All rights reserved.