public interface ResourceHandler
| Modifier and Type | Method and Description |
|---|---|
String |
getInterface()
Interface name of this resource (or
null), can be an URL to a WADL file. |
String |
getPath()
The path served by this resource handler.
|
String |
getResourceType()
Resource type (or
null). |
String |
getTittle()
Detailed title for this path (or
null). |
CoapResponse |
handle(CoapMessage request,
IoSession session)
Generate the response for this request.
|
String getPath()
String getTittle()
null). See http://datatracker.ietf.org/doc/rfc6690/String getInterface()
null), can be an URL to a WADL file. See
http://datatracker.ietf.org/doc/rfc6690/String getResourceType()
null). See http://datatracker.ietf.org/doc/rfc6690/CoapResponse handle(CoapMessage request, IoSession session)
request - the request to servesession - the session which receive the requestCopyright © 2009–2013 Apache MINA Project. All rights reserved.