Changes
Page history
formatting of eclipse import tutorial
authored
May 30, 2017
by
Björn Butzin
Hide whitespace changes
Inline
Side-by-side
home.markdown
View page @
fbd03739
...
...
@@ -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
*
->So we implemented
`TemperatureResource`
which extends
`BasicCoapResource`
with:
*
A constructor to initialize the resource and disallow POST, PUT and DELETE requests and
*
Two get() methods:
```
java
*
Two get() methods:
```
java
CoapData
get
(
List
<
CoapMediaType
>
mediaTypesAccepted
);
CoapData
get
(
List
<
String
>
query
,
List
<
CoapMediaType
>
mediaTypesAccepted
);
```
```
#### 2. Instantiate a new ResourceServer (Server.java, FIXME 1):
*
Need a CoapResourceServer to maintain resources
...
...
...
...