@GET
@Produces({ ODataConstants.APPLICATION_ATOM_XML_CHARSET_UTF8, ODataConstants.TEXT_JAVASCRIPT_CHARSET_UTF8, ODataConstants.APPLICATION_JAVASCRIPT_CHARSET_UTF8 })
public Response getEntity(@Context HttpHeaders httpHeaders,
@Context UriInfo uriInfo,
@Context ContextResolver<ODataProducer> producerResolver,
@Context SecurityContext securityContext,
@PathParam("entitySetName") String entitySetName,
@PathParam("id") String id,
@QueryParam("$format") String format,
@QueryParam("$callback") String callback,
@QueryParam("$expand") String expand,
@QueryParam("$select") String select) {
ODataProducer producer = producerResolver.getContext(ODataProducer.class);
return getEntityImpl(httpHeaders, uriInfo, securityContext, producer, entitySetName, id, format, callback, expand, select);
}
EntityRequestResource.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:oreva
作者:
评论列表
文章目录