Class FrameworkBundleStateResource


  • public class FrameworkBundleStateResource
    extends BaseResource
    • Constructor Detail

      • FrameworkBundleStateResource

        public FrameworkBundleStateResource​(org.osgi.framework.BundleContext bundleContext)
    • 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)