org.jboss.resteasy.annotations.GZIP.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(9.0k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中org.jboss.resteasy.annotations.GZIP.<init>()方法的一些代码示例,展示了GZIP.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GZIP.<init>()方法的具体详情如下:
包路径:org.jboss.resteasy.annotations.GZIP
类名称:GZIP
方法名:<init>

GZIP.<init>介绍

暂无

代码示例

代码示例来源:origin: com.wavefront/java-lib

@POST
@Path("daemon/{sshDaemonId}/checkin")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
AgentConfiguration checkin(@PathParam("sshDaemonId") final UUID agentId,
              @QueryParam("hostname") String hostname,
              @QueryParam("token") String token,
              @QueryParam("version") String version,
              @QueryParam("currentMillis") final Long currentMillis,
              @QueryParam("local") Boolean localAgent,
              @GZIP JsonNode agentMetrics,
              @QueryParam("push") Boolean pushAgent,
              @QueryParam("ephemeral") Boolean ephemeral);

代码示例来源:origin: wavefrontHQ/java

@POST
@Path("daemon/{sshDaemonId}/checkin")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
AgentConfiguration checkin(@PathParam("sshDaemonId") final UUID agentId,
              @QueryParam("hostname") String hostname,
              @QueryParam("token") String token,
              @QueryParam("version") String version,
              @QueryParam("currentMillis") final Long currentMillis,
              @QueryParam("local") Boolean localAgent,
              @GZIP JsonNode agentMetrics,
              @QueryParam("push") Boolean pushAgent,
              @QueryParam("ephemeral") Boolean ephemeral);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces("text/csv")
@ApiOperation(value = "Export the Suspect Metrics data as CSV")
StreamingOutput suspectMetrics(@Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces("text/csv")
@ApiOperation(value = "Export the drift compliance data")
StreamingOutput generateReport(
  @Context HttpServletRequest request,
  @QueryParam("resourceTypeId") String resourceTypeId,
  @QueryParam("version") String version);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces({"text/csv"})
@ApiOperation(value = "Export the Recent drift data as CSV")
StreamingOutput recentDrift(
    @QueryParam("categories") String categories,
    @QueryParam("snapshot") Integer snapshot,
    @QueryParam("path") String path,
    @QueryParam("definition") String definitionName,
    @QueryParam("startTime") Long startTime,
    @QueryParam("endTime") Long endTime,
    @Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces({"text/csv"})
@ApiOperation(value = "Export the Configuration History data as CSV")
StreamingOutput configurationHistory(@Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces({"text/csv"})
@ApiOperation(value = "Export the Recent Operations Data as CSV")
StreamingOutput recentOperations(
    @QueryParam("status") @DefaultValue("inprogress,success,failure,canceled") String operationRequestStatus,
    @QueryParam("startTime") Long startTime,
    @QueryParam("endTime") Long endTime,
    @Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces({"text/csv"})
@ApiOperation(value = "Export the Platform utilization data as CSV")
StreamingOutput generateReport(@Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces({"text/csv"})
@ApiOperation(value = "Export the Recent Alert data as CSV")
StreamingOutput recentAlerts(
    @QueryParam("alertPriority") @DefaultValue("high,medium,low") String alertPriority,
    @QueryParam("startTime") Long startTime,
    @QueryParam("endTime") Long endTime,
    @Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Produces({"text/csv"})
@ApiOperation(value = "Export the AlertDefinitions as CSV")
StreamingOutput alertDefinitions(@Context HttpServletRequest request);

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("recentAlerts")
@ApiOperation(value = "Export the Recent Alert data as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput recentAlerts(
    @QueryParam("alertPriority") @DefaultValue("high,medium,low") String alertPriority,
    @QueryParam("startTime") Long startTime,
    @QueryParam("endTime") Long endTime,
    @Context HttpServletRequest request) {
  return recentAlertLocal.recentAlertsInternal(alertPriority, startTime, endTime, request, caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("inventorySummary")
@ApiOperation(value = "Export the Inventory Summary data as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput generateInventorySummaryReport(
  @Context HttpServletRequest request,
  @QueryParam("resourceTypeId") String resourceTypeId,
  @QueryParam("version") String version) {
  return inventorySummaryLocal.generateReportInternal(request,resourceTypeId,version,caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("driftCompliance")
@ApiOperation(value = "Export the drift compliance data", responseClass = "String", multiValueResponse = true)
public StreamingOutput generateDriftComplianceReport(
  @Context HttpServletRequest request,
  @QueryParam("resourceTypeId") String resourceTypeId,
  @QueryParam("version") String version) {
  return driftComplianceLocal.generateReportInternal(request,resourceTypeId,version,caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("suspectMetrics")
@ApiOperation(value = "Export the Suspect Metrics data as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput suspectMetrics(@Context HttpServletRequest request) {
  return suspectMetricLocal.suspectMetricsInternal(request,caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("configurationHistory")
@ApiOperation(value = "Export the Configuration History data as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput configurationHistory(@Context HttpServletRequest request) {
  return configurationHistoryLocal.configurationHistoryInternal(request,caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("alertDefinitions")
@ApiOperation(value = "Export the AlertDefinitions as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput alertDefinitions(@Context HttpServletRequest request) {
  return alertDefinitionLocal.alertDefinitionsInternal(request, caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("platformUtilization")
@ApiOperation(value = "Export the Platform utilization data as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput generateReport(@Context HttpServletRequest request) {
  return platformUtilizationLocal.generateReportInternal(request, caller);
}

代码示例来源:origin: aerogear/aerogear-unifiedpush-server

/**
 * Endpoint for exporting as JSON file device installations for a given variant.
 * Only Keycloak authenticated can access it
 *
 * @param variantId the variant ID
 * @return          list of {@link org.jboss.aerogear.unifiedpush.api.Installation}s
 */
@GET
@Path("/{variantId}/installations/")
@Produces(MediaType.APPLICATION_JSON)
@GZIP
public Response exportInstallations(@PathParam("variantId") String variantId) {
  return Response.ok(getSearch().findAllInstallationsByVariantForDeveloper(variantId, 0, Integer.MAX_VALUE, null).getResultList()).build();
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GZIP
@GET
@Path("recentOperations")
@ApiOperation(value = "Export the Recent Operations Data as CSV", responseClass = "String", multiValueResponse = true)
public StreamingOutput recentOperations(
  @ApiParam("Status to look for. If parameter is not given, all values are used")
    @QueryParam("status") @DefaultValue("inprogress,success,failure,canceled") String operationRequestStatus,
  @ApiParam("The start time in ms since epoch of the time range to export.")
    @QueryParam("startTime") Long startTime,
  @ApiParam("The end time in ms since epoch of the time range to export. Defaults to 'now' if only the start time is given")
    @QueryParam("endTime") Long endTime,
    @Context HttpServletRequest request) {
  return recentOperationsLocal.recentOperationsInternal(operationRequestStatus,startTime,endTime,request,caller);
}

代码示例来源:origin: org.rhq/rhq-enterprise-server

@GET @GZIP
@Path("/{id}/hierarchy")
@Produces({"application/json","application/xml"})
@ApiOperation(value = "Retrieve the hierarchy of resources starting with the passed one", multiValueResponse = true, responseClass = "ResourceWithType")
@ApiError(code = 404, reason = NO_RESOURCE_FOR_ID)
public ResourceWithChildren getHierarchy(@ApiParam("Id of the resource to start with") @PathParam("id")int baseResourceId) {
  // TODO optimize to do less recursion
  Resource start = fetchResource(baseResourceId);
  return getHierarchy(start);
}

相关文章

GZIP类方法