You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.
fschoeppl edited this page Apr 25, 2012
·
1 revision
The REST Layer publishes all business operations to any (probably) non-java client.
It uses the JAX-RS implementation [Jersey] (http://jersey.java.net/) as its underlying layer.
The REST operations can be found within the package org.backmeup.rest. Each class encapsulates operations concerning a specific resource. E. g. the class Datasinks provides operations to retrieve all datasinks or to create new datasink profiles. All results of the REST calls will be formatted as JSON.
The package org.backmeup.rest.data contains classes that will be used as return values by the REST operations. They will be automatically converted to JSON by JAX-RS.
The pacakge org.backmeup.rest.exceptionmapper contains classes which map an exception to a HTTP error code.
The package org.backmeup.rest.provider contains a context resolver which will be used to retrieve the business logic and another one to configure the JSON-output.