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