Package org.javalite.http
Class Get
- java.lang.Object
-
- org.javalite.http.Request<Get>
-
- org.javalite.http.Get
-
-
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 Get
doConnect()
Makes a connection to the remote resource.static void
main(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
-
Get
public Get(String url, int connectTimeout, int readTimeout)
Constructor for making GET requests.- Parameters:
url
- URL of resource.connectTimeout
- connection timeout.readTimeout
- read timeout.
-
-