-
-
Notifications
You must be signed in to change notification settings - Fork 5
Http methods
Ahmad K. Bawaneh edited this page Dec 28, 2019
·
2 revisions
We can set the http request method on a service method using one of the JaxRs annotations : @GET
,@POST
,@PUT
,@PATCH
,@DELETE
,@HEAD
,@OPTIONS
.
if none of these annotations is present in the service method definition then it is considered GET
by default, and only @POST
, @PUT
, @PATCH
will allow sending a body in the request while the other will ignore any body presented in the request or service definition.
- Home
- Quick start
- Sharing clients
-
Configuration
- Locating resource classes
- Service root
- Resource root
- Http methods
- Service method path mapping
- Service path
- Query parameters
- Path parameters
- Header parameters
- Date format
- Request body
- Request and Response mapping
- Produces and Consumes
- Success codes
- Timeout and maximum retries
- With credentials
- Custom request URL
- Global interceptors
- Default failed response handler
- Interface inheritance
- Multipart form data