C D F G H I L M P R S T U 

C

CacheResource - Interface in ch.ethz.inf.vs.californium.proxy
 
cacheResponse(Request, Response) - Method in interface ch.ethz.inf.vs.californium.proxy.CacheResource
 
cacheResponse(Request, Response) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
Puts in cache an entry or, if already present, refreshes it.
ch.ethz.inf.vs.californium.proxy - package ch.ethz.inf.vs.californium.proxy
 
ch.ethz.inf.vs.californium.resources.proxy - package ch.ethz.inf.vs.californium.resources.proxy
 
CoapTranslator - Class in ch.ethz.inf.vs.californium.resources.proxy
Static class that provides the translations between the messages from the internal CoAP nodes and external ones.

D

DirectProxyCoAPResolver - Class in ch.ethz.inf.vs.californium.proxy
 
DirectProxyCoAPResolver() - Constructor for class ch.ethz.inf.vs.californium.proxy.DirectProxyCoAPResolver
 
DirectProxyCoAPResolver(ForwardingResource) - Constructor for class ch.ethz.inf.vs.californium.proxy.DirectProxyCoAPResolver
 
doReceiveMessage(Request) - Method in class ch.ethz.inf.vs.californium.proxy.HttpStack
 
doSendResponse(Request, Response) - Method in class ch.ethz.inf.vs.californium.proxy.HttpStack
 

F

ForwardingResource - Class in ch.ethz.inf.vs.californium.resources.proxy
 
ForwardingResource(String) - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.ForwardingResource
 
ForwardingResource(String, boolean) - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.ForwardingResource
 
forwardRequest(Exchange) - Method in class ch.ethz.inf.vs.californium.proxy.DirectProxyCoAPResolver
 
forwardRequest(Exchange) - Method in interface ch.ethz.inf.vs.californium.proxy.ProxyCoAPResolver
 
forwardRequest(Request) - Method in class ch.ethz.inf.vs.californium.resources.proxy.ForwardingResource
 
forwardRequest(Request) - Method in class ch.ethz.inf.vs.californium.resources.proxy.ProxyCoapClientResource
 
forwardRequest(Request) - Method in class ch.ethz.inf.vs.californium.resources.proxy.ProxyHttpClientResource
 

G

getBool(String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
getBool(String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
getCacheStats() - Method in interface ch.ethz.inf.vs.californium.proxy.CacheResource
 
getCacheStats() - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
getCoapMediaType(HttpMessage) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Gets the coap media type associated to the http entity.
getCoapOptions(Header[]) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Gets the coap options starting from an array of http headers.
getCoapPayload(HttpEntity) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Method to map the http entity of a http message in a coherent payload for the coap message.
getCoapRequest(HttpRequest, String, boolean) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Gets the coap request.
getCoapResponse(HttpResponse, Request) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Gets the CoAP response from an incoming HTTP response.
getDbl(String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
getDbl(String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
getHttpEntity(Message) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Generates an HTTP entity starting from a CoAP request.
getHttpHeaders(List<Option>) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Gets the http headers from a list of CoAP options.
getHttpRequest(Request) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Gets the http request starting from a CoAP request.
getHttpResponse(HttpRequest, Response, HttpResponse) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Sets the parameters of the incoming http response from a CoAP response.
getInt(String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
getInt(String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
getProxyCoapClientResource() - Method in class ch.ethz.inf.vs.californium.proxy.DirectProxyCoAPResolver
 
getProxyCoapResolver() - Method in class ch.ethz.inf.vs.californium.proxy.ProxyHttpServer
 
getRequest(Request) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.CoapTranslator
Starting from an external CoAP request, the method fills a new request for the internal CaAP nodes.
getRequestHandler() - Method in class ch.ethz.inf.vs.californium.proxy.HttpStack
 
getResponse(Request) - Method in interface ch.ethz.inf.vs.californium.proxy.CacheResource
Gets cached response.
getResponse(Request) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
Retrieves the response in the cache that matches the request passed, null otherwise.
getResponse(Response) - Static method in class ch.ethz.inf.vs.californium.resources.proxy.CoapTranslator
Fills the new response with the response received from the internal CoAP node.
getStr(String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
getStr(String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 

H

handleDELETE(CoapExchange) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
handleGET(CoapExchange) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
handlePOST(CoapExchange) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
handleRequest(Request) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyHttpServer
 
handleRequest(Request) - Method in interface ch.ethz.inf.vs.californium.proxy.RequestHandler
 
handleRequest(Exchange) - Method in class ch.ethz.inf.vs.californium.resources.proxy.ForwardingResource
 
HTTP_TRANSLATION_PROPERTIES - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
Property file containing the mappings between coap messages and http messages.
HttpStack - Class in ch.ethz.inf.vs.californium.proxy
Class encapsulating the logic of a http server.
HttpStack(int) - Constructor for class ch.ethz.inf.vs.californium.proxy.HttpStack
Instantiates a new http stack on the requested port.
HttpTranslator - Class in ch.ethz.inf.vs.californium.resources.proxy
Class providing the translations (mappings) from the HTTP message representations to the CoAP message representations and vice versa.

I

invalidateRequest(Request) - Method in interface ch.ethz.inf.vs.californium.proxy.CacheResource
 
invalidateRequest(Request) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
InvalidFieldException - Exception in ch.ethz.inf.vs.californium.resources.proxy
The Class InvalidFieldException.
InvalidFieldException() - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidFieldException
 
InvalidFieldException(String) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidFieldException
 
InvalidFieldException(String, IOException) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidFieldException
 
InvalidFieldException(String, Throwable) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidFieldException
 
InvalidFieldException(Throwable) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidFieldException
 
InvalidMethodException - Exception in ch.ethz.inf.vs.californium.resources.proxy
The Class InvalidMethodException.
InvalidMethodException() - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidMethodException
 
InvalidMethodException(String) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidMethodException
 
InvalidMethodException(String, IOException) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidMethodException
 
InvalidMethodException(String, Throwable) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidMethodException
 
InvalidMethodException(Throwable) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.InvalidMethodException
 
isEnabled() - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
isWaitingRequest(Request) - Method in class ch.ethz.inf.vs.californium.proxy.HttpStack
Checks if a thread is waiting for the arrive of a specific response.

L

load(String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
load(String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
LOCAL_RESOURCE_NAME - Static variable in class ch.ethz.inf.vs.californium.proxy.HttpStack
The resource associated with the local resources behavior.
LOGGER - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
 

M

MappingProperties - Class in ch.ethz.inf.vs.californium.proxy
This class maps different protocol constants for the Cf cross-proxy.
MappingProperties(String) - Constructor for class ch.ethz.inf.vs.californium.proxy.MappingProperties
 

P

ProxyCacheResource - Class in ch.ethz.inf.vs.californium.proxy
Resource to handle the caching in the proxy.
ProxyCacheResource() - Constructor for class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
Instantiates a new proxy cache resource.
ProxyCacheResource(boolean) - Constructor for class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
Instantiates a new proxy cache resource.
ProxyCoapClientResource - Class in ch.ethz.inf.vs.californium.resources.proxy
Resource that forwards a coap request with the proxy-uri option set to the desired coap server.
ProxyCoapClientResource() - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.ProxyCoapClientResource
 
ProxyCoapClientResource(String) - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.ProxyCoapClientResource
 
ProxyCoAPResolver - Interface in ch.ethz.inf.vs.californium.proxy
 
ProxyHttpClientResource - Class in ch.ethz.inf.vs.californium.resources.proxy
// test with http://httpbin.org/
ProxyHttpClientResource() - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.ProxyHttpClientResource
 
ProxyHttpClientResource(String) - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.ProxyHttpClientResource
 
ProxyHttpServer - Class in ch.ethz.inf.vs.californium.proxy
The class represent the container of the resources and the layers used by the proxy.
ProxyHttpServer(Server) - Constructor for class ch.ethz.inf.vs.californium.proxy.ProxyHttpServer
Instantiates a new proxy endpoint from the default ports.
ProxyHttpServer(int) - Constructor for class ch.ethz.inf.vs.californium.proxy.ProxyHttpServer
Instantiates a new proxy endpoint.
ProxyProperties - Class in ch.ethz.inf.vs.californium.proxy
This class implements Californium's property registry.
ProxyProperties(String) - Constructor for class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 

R

RDResource - Class in ch.ethz.inf.vs.californium.resources.proxy
 
RDResource() - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.RDResource
 
RDResource(String) - Constructor for class ch.ethz.inf.vs.californium.resources.proxy.RDResource
 
RequestHandler - Interface in ch.ethz.inf.vs.californium.proxy
 
responseProduced(Request, Response) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyHttpServer
 

S

set(String, double) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
set(String, int) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
set(String, String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
set(String, boolean) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
set(String, double) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
set(String, int) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
set(String, String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
set(String, boolean) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
setEnabled(boolean) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyCacheResource
 
setProxyCoapClientResource(ForwardingResource) - Method in class ch.ethz.inf.vs.californium.proxy.DirectProxyCoAPResolver
 
setProxyCoapResolver(ProxyCoAPResolver) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyHttpServer
 
setRequestHandler(RequestHandler) - Method in class ch.ethz.inf.vs.californium.proxy.HttpStack
 
StatsResource - Class in ch.ethz.inf.vs.californium.proxy
Resource that encapsulate the proxy statistics.
StatsResource(CacheResource) - Constructor for class ch.ethz.inf.vs.californium.proxy.StatsResource
Instantiates a new stats resource.
STATUS_FIELD_MALFORMED - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.CoapTranslator
Property file containing the mappings between coap messages and http messages.
STATUS_NOT_FOUND - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
 
STATUS_TIMEOUT - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.CoapTranslator
 
STATUS_TIMEOUT - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
 
STATUS_TRANSLATION_ERROR - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.CoapTranslator
 
STATUS_TRANSLATION_ERROR - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
 
STATUS_URI_MALFORMED - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
 
STATUS_WRONG_METHOD - Static variable in class ch.ethz.inf.vs.californium.resources.proxy.HttpTranslator
 
std - Static variable in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
std - Static variable in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 
store(String) - Method in class ch.ethz.inf.vs.californium.proxy.MappingProperties
 
store(String) - Method in class ch.ethz.inf.vs.californium.proxy.ProxyProperties
 

T

TranslationException - Exception in ch.ethz.inf.vs.californium.resources.proxy
The Class TranslationException.
TranslationException() - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.TranslationException
 
TranslationException(String) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.TranslationException
 
TranslationException(String, IOException) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.TranslationException
 
TranslationException(String, Throwable) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.TranslationException
 
TranslationException(Throwable) - Constructor for exception ch.ethz.inf.vs.californium.resources.proxy.TranslationException
 

U

updateStatistics(Request, boolean) - Method in class ch.ethz.inf.vs.californium.proxy.StatsResource
 
C D F G H I L M P R S T U 

Copyright © 2014 Institute for Pervasive Computing, ETH Zurich. All rights reserved.