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.- Author:
- gonural
-
-
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
Constructors Constructor Description SingleResultQueryResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
namedQuerySingleResult(java.lang.String version, java.lang.String persistenceUnit, java.lang.String name, javax.ws.rs.core.HttpHeaders hh, javax.ws.rs.core.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
-
-
-
-
Method Detail
-
namedQuerySingleResult
@GET @Path("{name}") public javax.ws.rs.core.Response namedQuerySingleResult(@PathParam("version") java.lang.String version, @PathParam("context") java.lang.String persistenceUnit, @PathParam("name") java.lang.String name, @Context javax.ws.rs.core.HttpHeaders hh, @Context javax.ws.rs.core.UriInfo ui)
-
-