Package com.badlogic.gdx
Interface Net.HttpMethods
-
- Enclosing interface:
- Net
public static interface Net.HttpMethods
Provides common HTTP methods to use when creating aNet.HttpRequest
.- HEAD Asks for a response identical to that of a GET request but without the response body.
- GET requests a representation of the specified resource. Requests using GET should only retrieve data.
- POST is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
- PUT replaces all current representations of the target resource with the request payload.
- PATCH method is used to apply partial modifications to a resource.
- DELETE deletes the specified resource.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DELETE
The DELETE method deletes the specified resource.static java.lang.String
GET
The GET method requests a representation of the specified resource.static java.lang.String
HEAD
The HEAD method asks for a response identical to that of a GET request, but without the response body.static java.lang.String
PATCH
The PATCH method is used to apply partial modifications to a resource.static java.lang.String
POST
The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.static java.lang.String
PUT
The PUT method replaces all current representations of the target resource with the request payload.
-
-
-
Field Detail
-
HEAD
static final java.lang.String HEAD
The HEAD method asks for a response identical to that of a GET request, but without the response body.- See Also:
- Constant Field Values
-
GET
static final java.lang.String GET
The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.- See Also:
- Constant Field Values
-
POST
static final java.lang.String POST
The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.- See Also:
- Constant Field Values
-
PUT
static final java.lang.String PUT
The PUT method replaces all current representations of the target resource with the request payload.- See Also:
- Constant Field Values
-
PATCH
static final java.lang.String PATCH
The PATCH method is used to apply partial modifications to a resource.- See Also:
- Constant Field Values
-
DELETE
static final java.lang.String DELETE
The DELETE method deletes the specified resource.- See Also:
- Constant Field Values
-
-