Changes between Version 7 and Version 8 of RpRepDeployment


Ignore:
Timestamp:
Oct 20, 2010, 12:42:06 PM (14 years ago)
Author:
s.meissner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RpRepDeployment

    v7 v8  
    1919The Java REP reference implementation provides some help to Resource Providers showing an example using the Restlet framework.
    2020
    21 The REP class provides a method **createInboundRoot()** in which the routing of REST requests is defined. In the example below all requests issued to {REP_URL}/s/sensorName are routed to the handler class **Sensor Type**
     21The **REP class** provides a method **createInboundRoot()** in which the routing of REST requests is defined. In the example below all requests issued to **{REP_URL}/s/sensorName** are routed to the handler class **Sensor Type**
    2222
    2323{{{
     
    4646In the example project a **com.sensinode.sensei.rep.rest.test.SensorType.class** is uses as an example for a RAI handler attached to the REP.
    4747
    48 === RAI handler SensorType class explained ===
    49 
    50 '''GET''' requests are handled by the method toXML(). This method returns the Observation & Measurement value in XML/RDF format.
     48'''RAI GET''' requests are handled by the method **toXML()** provided by the class **SensorType**. This method returns the Observation & Measurement value in XML/RDF format.
    5149
    5250{{{
     
    8684
    8785
    88 === RPI methods: ===
     86=== Resource Publish Interface ===
     87
    8988*       public List<String> publishResourceDescription(String descriptionString)
    9089*       public List<String> publishResourceDescription(ResourceDescription desc)