Commit 8d2c40ab authored by Björn Butzin's avatar Björn Butzin
Browse files

- compiled jar now expects required libraries in the same folder and not in /dependencies

- ResourceType is now an interface and no an abstract class
parent f8c31c86
// Configure the scr plugin for gradle to generate the OSGi xml service description for
group 'org.ws4d'
version '0.0.1-SNAPSHOT'
version '1.1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'osgi'
......@@ -14,7 +14,7 @@ repositories {
dependencies {
group: 'org.apache.logging.log4j:log4j-core:2.6.1'
group: 'org.apache.logging.log4j:log4j-core:2.6.2'
testCompile 'junit:junit:4.12'
......@@ -41,13 +41,11 @@
......@@ -85,4 +83,9 @@
<name>Web Services for Devices</name>
\ No newline at end of file
......@@ -5,18 +5,18 @@ import java.util.List;
import org.ws4d.coap.core.enumerations.CoapMediaType;
public abstract class ResourceHandler {
public interface ResourceHandler {
public abstract CoapMediaType getMediaType();
public CoapMediaType getMediaType();
public abstract CoapData handleGet();
public CoapData handleGet();
public abstract CoapData handleGet(List<String> queryString);
public CoapData handleGet(List<String> queryString);
public abstract boolean handlePost(byte[] data);
public boolean handlePost(byte[] data);
public abstract boolean handlePut(byte[] data);
public boolean handlePut(byte[] data);
public abstract boolean handleDelete();
public boolean handleDelete();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment