Class ProxyService

java.lang.Object
com.sodius.oslc.server.services.ProxyService

@Path("proxy") public class ProxyService extends Object
Proxies OSLC requests from a client to a remote server.
Since:
1.3.0
  • Constructor Details

    • ProxyService

      public ProxyService()
  • Method Details

    • getResource

      @GET @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getResource(@QueryParam("url") String url)
    • getServiceProvider

      @Path("/service-provider") @GET @Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"}) public Response getServiceProvider(@QueryParam("url") String url)
    • getCompact

      @GET @Produces({"application/x-oslc-compact+json","application/x-oslc-compact+xml"}) public Response getCompact(@QueryParam("url") String url)
    • update

      @PUT @Consumes({"application/rdf+xml","application/xml","application/json","application/ld+json","text/xml"}) @Produces({"application/rdf+xml","application/xml","application/json","application/ld+json","text/xml","text/turtle"}) public Response update(@QueryParam("url") String url, InputStream entity)