Package io.mangoo.test.http
Class TestRequest
java.lang.Object
io.mangoo.test.http.TestRequest
- Author:
- svenkubiak
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestResponsestatic TestResponseCreates a new HTTP DELETE request to the given URIstatic TestResponseCreates a new HTTP GET request to the given URIstatic TestResponseCreates a new HTTP HEAD request to the given URIstatic TestResponseCreates a new HTTP OPTIONS request to the given URIstatic TestResponseCreates a new HTTP PACTH request to the given URIstatic TestResponseCreates a new HTTP POST request to the given URIstatic TestResponseCreates a new HTTP PUT request to the given URI
-
Method Details
-
create
-
get
Creates a new HTTP GET request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-
post
Creates a new HTTP POST request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-
put
Creates a new HTTP PUT request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-
delete
Creates a new HTTP DELETE request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-
head
Creates a new HTTP HEAD request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-
patch
Creates a new HTTP PACTH request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-
options
Creates a new HTTP OPTIONS request to the given URI- Parameters:
uri- The URI to call- Returns:
- A MangooResponse
-