@Path(value="/deprecated/path") @Produces(value="application/json") @Consumes(value="application/json") public class RestPath extends RestBase
| Constructor and Description |
|---|
RestPath() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
get(String entityPath,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getRelationships(String entityPath,
String direction,
String propertyName,
String propertyValue,
String named,
String sourceType,
String targetType,
String jsonLd,
javax.ws.rs.core.UriInfo uriInfo) |
create, getMapper, getPath, getPath, getTenantId, getTenantPath, getTraverser, pagedResponse, pagedResponse, parsePath, setupMapper@GET
@Path(value="/{entityPath:.+}")
public javax.ws.rs.core.Response get(@Encoded @PathParam(value="entityPath")
String entityPath,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/{entityPath:.+}/relationships")
public javax.ws.rs.core.Response getRelationships(@Encoded @PathParam(value="entityPath")
String entityPath,
@DefaultValue(value="both") @QueryParam(value="direction")
String direction,
@DefaultValue(value="") @QueryParam(value="property")
String propertyName,
@DefaultValue(value="") @QueryParam(value="propertyValue")
String propertyValue,
@DefaultValue(value="") @QueryParam(value="named")
String named,
@DefaultValue(value="") @QueryParam(value="sourceType")
String sourceType,
@DefaultValue(value="") @QueryParam(value="targetType")
String targetType,
@DefaultValue(value="false") @QueryParam(value="jsonld")
String jsonLd,
@Context
javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.