public class Put
extends Post
Executes a PUT request.
- Author:
- Igor Polevoy
-
-
Constructor Summary
Constructors
Put(String url,
byte[] content,
int connectTimeout,
int readTimeout)
Constructor for making PUT requests.
-
Method Summary
Methods inherited from class org.javalite.http.Request
applicationJson, basic, basic, bytes, connect, contentType, dispose, getInputStream, header, headers, jsonList, jsonList, jsonMap, jsonMap, param, params, params, redirect, responseCode, responseMessage, text, text
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Put
public Put
(String url,
byte[] content,
int connectTimeout,
int readTimeout)
Constructor for making PUT requests.
- Parameters:
url
- URL of resource.
content
- content to be "put" into a resource.
connectTimeout
- connection timeout.
readTimeout
- read timeout.
-
Method Details
-
-
main
public static void main
(String[] args)