connection, redirect, url
Constructor and Description |
---|
Get(String url,
int connectTimeout,
int readTimeout)
Constructor for making GET requests.
|
Modifier and Type | Method and Description |
---|---|
Get |
doConnect()
Makes a connection to the remote resource.
|
static void |
main(String[] args) |
basic, basic, bytes, connect, dispose, getInputStream, header, headers, redirect, responseCode, responseMessage, text, text
public Get(String url, int connectTimeout, int readTimeout)
url
- URL of resource.connectTimeout
- connection timeout.readTimeout
- read timeout.Copyright © 2019 JavaLite. All rights reserved.