|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpConnector
Pluggability for customizing HTTP request behaviors or using altogether different library.
For example, you can implement this to st custom timeouts.
| Field Summary | |
|---|---|
static HttpConnector |
DEFAULT
Default implementation that uses URL.openConnection(). |
| Method Summary | |
|---|---|
HttpURLConnection |
connect(URL url)
Opens a connection to the given URL. |
| Field Detail |
|---|
static final HttpConnector DEFAULT
URL.openConnection().
| Method Detail |
|---|
HttpURLConnection connect(URL url)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||