Home
Flashcards
Preview
web services test2
Home
Get App
Take Quiz
Create
@Path
value is the relative URI path indicating where the Java class will be hosted
can embed variables in the URI to make a URI path template
eg. city/{name}
@GET
will process a HTTP GET request(a request method designator)
behaviour of resource is determined by the HTTP method to which the resource is responding
@POST
will process a HTTP POST request
behaviour of resource is determined by the HTTP method to which the resource is responding
@PUT
will process a HTTP PUTT request
behaviour of resource is determined by the HTTP method to which the resource is responding
@Delete
will process a HTTP DELETE request
behaviour of resource is determined by the HTTP method to which the resource is responding
@PathParam
is a type of parameter that you can extract for use in your resource class
URI path parameter are extracted from the request URI
parameter name -> URI path template variable name
@QueryParam
a type of paramater that can be extracted from request URI query parameter
@DefaultValue
@Produces
used to specify the MIME media types of representation a resource can produce and send to client
possible @Produces
@Consumes
used to specify the MIME media types of representations a resource can consume that were sent by client
possible @Consumes
Author
slc53
ID
339778
Card Set
web services test2
Description
web services test2
Updated
2018-04-22T02:12:38Z
Show Answers
Home
Flashcards
Preview