Package org.javalite.http
Class Post
java.lang.Object
org.javalite.http.Request
org.javalite.http.Post
Executes a POST request.
- Author:
- Igor Polevoy
-
Field Summary
-
Constructor Summary
-
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
-
Constructor Details
-
Post
Constructor for making POST requests.- Parameters:
url
- URL of resource.content
- content to be posted to the resource.connectTimeout
- connection timeout.readTimeout
- read timeout.
-
-
Method Details
-
doConnect
- Overrides:
doConnect
in classRequest
- Throws:
IOException
-
getMethod
-
main
-