Class SingleResultQueryResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractSingleResultQueryResource
org.eclipse.persistence.jpa.rs.resources.SingleResultQueryResource
@Produces({"application/json","application/xml","application/octet-stream"})
@Path("/{version : v\\d\\.\\d|latest}/{context}/singleResultQuery/")
public class SingleResultQueryResource
extends AbstractSingleResultQueryResource
Single result query resource.
-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnamedQuerySingleResult
(String version, String persistenceUnit, String name, HttpHeaders hh, UriInfo ui) Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractSingleResultQueryResource
namedQuerySingleResultInternal
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
-
Constructor Details
-
SingleResultQueryResource
public SingleResultQueryResource()
-
-
Method Details
-
namedQuerySingleResult
@GET @Path("{name}") public Response namedQuerySingleResult(@PathParam("version") String version, @PathParam("context") String persistenceUnit, @PathParam("name") String name, @Context HttpHeaders hh, @Context UriInfo ui)
-