formatting of eclipse import tutorial authored by Björn Butzin's avatar Björn Butzin
...@@ -93,11 +93,11 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn ...@@ -93,11 +93,11 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn
* PUT, POST and DELETE are not used * PUT, POST and DELETE are not used
* ->So we implemented `TemperatureResource` which extends `BasicCoapResource` with: * ->So we implemented `TemperatureResource` which extends `BasicCoapResource` with:
* A constructor to initialize the resource and disallow POST, PUT and DELETE requests and * A constructor to initialize the resource and disallow POST, PUT and DELETE requests and
* Two get() methods: * Two get() methods:
```java ```java
CoapData get(List<CoapMediaType> mediaTypesAccepted); CoapData get(List<CoapMediaType> mediaTypesAccepted);
CoapData get(List<String> query, List<CoapMediaType> mediaTypesAccepted); CoapData get(List<String> query, List<CoapMediaType> mediaTypesAccepted);
``` ```
#### 2. Instantiate a new ResourceServer (Server.java, FIXME 1): #### 2. Instantiate a new ResourceServer (Server.java, FIXME 1):
* Need a CoapResourceServer to maintain resources * Need a CoapResourceServer to maintain resources
... ...
......