Package org.javalite.http
Class Put
- java.lang.Object
-
- org.javalite.http.Request<Put>
-
- org.javalite.http.Put
-
-
Field Summary
-
Fields inherited from class org.javalite.http.Request
connection, redirect, url
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PutdoConnect()Makes a connection to the remote resource.static voidmain(String[] args)-
Methods inherited from class org.javalite.http.Request
basic, basic, bytes, connect, dispose, getInputStream, header, headers, redirect, responseCode, responseMessage, text, text
-
-
-
-
Constructor Detail
-
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.
-
-