Package | Description |
---|---|
org.eclipse.californium.proxy |
Modifier and Type | Class and Description |
---|---|
class |
InvalidFieldException
The Class InvalidFieldException.
|
class |
InvalidMethodException
The Class InvalidMethodException.
|
Modifier and Type | Method and Description |
---|---|
static Request |
HttpTranslator.createCoapRequestDiscovery(java.lang.String proxyUri) |
static Request |
HttpTranslator.createCoapRequestOptions(java.lang.String proxyUri) |
static byte[] |
HttpTranslator.getCoapPayload(org.apache.http.HttpEntity httpEntity)
Method to map the http entity of a http message in a coherent payload for
the coap message.
|
static Request |
HttpTranslator.getCoapRequest(org.apache.http.HttpRequest httpRequest,
java.lang.String proxyResource,
boolean proxyingEnabled)
Gets the coap request.
|
static Response |
HttpTranslator.getCoapResponse(org.apache.http.HttpResponse httpResponse,
Request coapRequest)
Gets the CoAP response from an incoming HTTP response.
|
static org.apache.http.HttpEntity |
HttpTranslator.getHttpEntity(Message coapMessage)
Generates an HTTP entity starting from a CoAP request.
|
static org.apache.http.HttpRequest |
HttpTranslator.getHttpRequest(Request coapRequest)
Gets the http request starting from a CoAP request.
|
static void |
HttpTranslator.getHttpResponse(org.apache.http.HttpRequest httpRequest,
Response coapResponse,
org.apache.http.HttpResponse httpResponse)
Sets the parameters of the incoming http response from a CoAP response.
|
static Request |
CoapTranslator.getRequest(Request incomingRequest)
Starting from an external CoAP request, the method fills a new request
for the internal CaAP nodes.
|