connection, redirect, url
Constructor and Description |
---|
Put(String url,
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, basic, bytes, connect, dispose, getInputStream, header, headers, redirect, responseCode, responseMessage, text, text
public Put(String url, byte[] content, int connectTimeout, int readTimeout)
url
- URL of resource.content
- content to be "put" into a resource.connectTimeout
- connection timeout.readTimeout
- read timeout.Copyright © 2020 JavaLite. All rights reserved.