Package org.rhq.enterprise.server.rest.domain

Examples of org.rhq.enterprise.server.rest.domain.AvailabilitySummary


        @ApiParam("Id of the resource to query") @PathParam("id") int resourceId,
        @Context HttpHeaders headers) {

        fetchResource(resourceId);
        ResourceAvailabilitySummary summary = resMgr.getAvailabilitySummary(caller,resourceId);
        AvailabilitySummary as = new AvailabilitySummary(resourceId,summary);

        Response.ResponseBuilder builder = Response.ok(as);

        MediaType type = headers.getAcceptableMediaTypes().get(0);
        builder.type(type);
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.rest.domain.AvailabilitySummary

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.