... | ... | @@ -95,12 +95,10 @@ You can find the required files in our repository at [https://gitlab.amd.e-techn |
|
|
* 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
|
|
|
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
|
|
|
|
... | ... | |