Uses of Class
org.javalite.http.Request
-
Uses of Request in org.javalite.http
Modifier and TypeClassDescriptionclass
Executes a DELETE request.class
Executes a GET request.class
Sets up a Multipart request to send multiple text fields as well as upload files.class
Executes a PATCH request.class
Executes a POST request.class
Executes a PUT request.Modifier and TypeMethodDescription<T extends Request>
TRequest.applicationJson()
Convenience method to set a ""Content-Type" to "application/json" value.<T extends Request>
TSet a user authentication<T extends Request>
TSets a user and password for basic authentication.protected <T extends Request>
TRequest.connect()
<T extends Request>
TRequest.contentType(String value)
Convenience method to set a ""Content-Type" header.protected <T extends Request>
TMultipart.doConnect(HttpURLConnection connection)
protected <T extends Request>
TPost.doConnect(HttpURLConnection connection)
protected <T extends Request>
TRequest.doConnect(HttpURLConnection connection)
<T extends Request>
TSets an HTTP header - call before making a request.<T extends Request>
TAdds a parameter to the request as in a HTML form.<T extends Request>
TConvenience method to add multiple parameters to the request.<T extends Request>
TRequest.redirect(boolean redirect)
Configures this request to follow redirects.