@GET
@Produces({ ODataConstants.APPLICATION_ATOM_XML_CHARSET_UTF8,
ODataConstants.TEXT_JAVASCRIPT_CHARSET_UTF8,
ODataConstants.APPLICATION_JAVASCRIPT_CHARSET_UTF8 })
public Response getEntities(
@Context HttpHeaders httpHeaders,
@Context UriInfo uriInfo,
@Context ContextResolver<ODataProducer> producerResolver,
@Context SecurityContext securityContext,
@PathParam("entitySetName") String entitySetName,
@QueryParam("$inlinecount") String inlineCount,
@QueryParam("$top") String top,
@QueryParam("$skip") String skip,
@QueryParam("$filter") String filter,
@QueryParam("$orderby") String orderBy,
@QueryParam("$format") String format,
@QueryParam("$callback") String callback,
@QueryParam("$skiptoken") String skipToken,
@QueryParam("$expand") String expand,
@QueryParam("$select") String select)
throws Exception {
ODataProducer producer = producerResolver.getContext(ODataProducer.class);
return getEntitiesImpl(httpHeaders, uriInfo, securityContext, producer, entitySetName, false, inlineCount, top, skip,
filter, orderBy, format, callback, skipToken, expand, select);
}
EntitiesRequestResource.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:oreva
作者:
评论列表
文章目录