connection, url
Constructor and Description |
---|
Get(String uri,
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, bytes, connect, dispose, getInputStream, header, headers, responseCode, responseMessage, text, text
public Get(String uri, int connectTimeout, int readTimeout)
uri
- URI of resource.connectTimeout
- connection timeout.readTimeout
- read timeout.Copyright © 2016 JavaLite. All rights reserved.