formatting of eclipse import tutorial authored by Björn Butzin's avatar Björn Butzin
......@@ -92,15 +92,12 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
* Instead we want a random number to be returned on a GET
* PUT, POST and DELETE are not used
* ->So we implemented `TemperatureResource` which extends `BasicCoapResource` with:
* A constructor to initialize the resource and disallow POST, PUT and DELETE requests
* Two get() Methods:
* Get a list of accepted media types [& query parameters] which returns a `byte[]` together with its media type
```java
* A constructor to initialize the resource and disallow POST, PUT and DELETE requests and
* Two get() methods:
```java
CoapData get(List<CoapMediaType> mediaTypesAccepted);
CoapData get(List<String> query, List<CoapMediaType> mediaTypesAccepted);
```
* And the `getResourceType()` method
* Which returns a description string of the resource
```
#### 2. Instantiate a new ResourceServer (Server.java, FIXME 1):
* Need a CoapResourceServer to maintain resources
......
......