Package com.sodius.oslc.server.services
Class ProxyService
java.lang.Object
com.sodius.oslc.server.services.ProxyService
Proxies OSLC requests from a client to a remote server.
- Since:
- 1.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCompact(String url) getResource(String url) getServiceProvider(String url) update(String url, InputStream entity)
-
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
-
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)
-