Class QueryResource


@Produces({"application/json","application/xml"}) @Consumes({"application/json","application/xml"}) @Path("/{version : v\\d\\.\\d|latest}/{context}/query/") public class QueryResource extends AbstractQueryResource
Query resource.
Author:
gonural
  • Constructor Details

    • QueryResource

      public QueryResource()
  • Method Details

    • namedQueryUpdate

      @POST @Path("{name}") public jakarta.ws.rs.core.Response namedQueryUpdate(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("name") String name, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui)
    • namedQuery

      @GET @Path("{name}") public jakarta.ws.rs.core.Response namedQuery(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("name") String name, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui)
    • getQueryOptions

      @OPTIONS @Path("{name}") public jakarta.ws.rs.core.Response getQueryOptions(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("name") String queryName, @Context jakarta.ws.rs.core.HttpHeaders httpHeaders, @Context jakarta.ws.rs.core.UriInfo uriInfo)