Package | Description |
---|---|
org.apache.mina.coap | |
org.apache.mina.coap.codec | |
org.apache.mina.coap.resource |
Modifier and Type | Method and Description |
---|---|
static CoapMessage |
CoapMessage.get(String url,
boolean confimable) |
static CoapMessage |
CoapMessage.post(String url,
boolean confimable,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
CoapMessage |
CoapDecoder.decode(ByteBuffer input,
Void context)
Decode binary or protocol-specific content of type
INPUT into higher-level protocol message objects,
of type OUTPUT |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
CoapEncoder.encode(CoapMessage message,
Void context)
Encodes higher-level message objects of type
INPUT into binary or protocol-specific data of type
OUTPUT . |
Modifier and Type | Method and Description |
---|---|
CoapMessage |
ResourceRegistry.respond(CoapMessage request,
IoSession session)
Response to a request : delegate it to the correct handler for the requested path.
|
Modifier and Type | Method and Description |
---|---|
CoapResponse |
ResourceHandler.handle(CoapMessage request,
IoSession session)
Generate the response for this request.
|
CoapMessage |
ResourceRegistry.respond(CoapMessage request,
IoSession session)
Response to a request : delegate it to the correct handler for the requested path.
|
Copyright © 2009–2013 Apache MINA Project. All rights reserved.