Package | Description |
---|---|
org.apache.mina.coap | |
org.apache.mina.coap.resource |
Modifier and Type | Method and Description |
---|---|
CoapOption[] |
CoapMessage.getOptions() |
Modifier and Type | Method and Description |
---|---|
void |
CoapMessage.setOptions(CoapOption[] options) |
Constructor and Description |
---|
CoapMessage(int version,
MessageType type,
int code,
int id,
byte[] token,
CoapOption[] options,
byte[] payload)
Create a CoAP message
|
Modifier and Type | Method and Description |
---|---|
CoapOption[] |
CoapResponse.getOptions() |
Modifier and Type | Method and Description |
---|---|
void |
CoapResponse.setOptions(CoapOption[] options) |
Constructor and Description |
---|
CoapResponse(int code,
byte[] content,
CoapOption... options)
Create the CoAP response for a resource request.
|
Copyright © 2009–2013 Apache MINA Project. All rights reserved.