connection, url
Constructor and Description |
---|
Post(String uri,
byte[] content,
int connectTimeout,
int readTimeout)
Constructor for making POST requests.
|
Modifier and Type | Method and Description |
---|---|
Post |
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 Post(String uri, byte[] content, int connectTimeout, int readTimeout)
uri
- URI of resource.content
- content to be posted to the resource.connectTimeout
- connection timeout.readTimeout
- read timeout.Copyright © 2016 JavaLite. All rights reserved.