Class FrameworkBundleStateResource
- java.lang.Object
-
- org.apache.aries.jax.rs.rest.management.internal.BaseResource
-
- org.apache.aries.jax.rs.rest.management.internal.FrameworkBundleStateResource
-
public class FrameworkBundleStateResource extends BaseResource
-
-
Constructor Summary
Constructors Constructor Description FrameworkBundleStateResource(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
bundleState(long bundleid, String ext)
javax.ws.rs.core.Response
bundleState(BundleStateSchema bundleStateDTO, long bundleid, String ext, javax.ws.rs.core.MediaType contentType)
-
-
-
Method Detail
-
bundleState
@GET @Produces({"application/org.osgi.bundlestate+json","application/org.osgi.bundlestate+xml"}) @Path("framework/bundle/{bundleid}/state{ext:(\\.json|\\.xml)*}") public javax.ws.rs.core.Response bundleState(@PathParam("bundleid") long bundleid, @PathParam("ext") String ext)
-
bundleState
@PUT @Consumes({"application/org.osgi.bundlestate+json","application/org.osgi.bundlestate+xml"}) @Produces({"application/org.osgi.bundlestate+json","application/org.osgi.bundlestate+xml"}) @Path("framework/bundle/{bundleid}/state{ext:(\\.json|\\.xml)*}") public javax.ws.rs.core.Response bundleState(BundleStateSchema bundleStateDTO, @PathParam("bundleid") long bundleid, @PathParam("ext") String ext, @HeaderParam("Content-Type") javax.ws.rs.core.MediaType contentType)
-
-