Package org.openhab.core.io.rest
-
Interface Summary Interface Description DTOMapper Utilities for mapping/transforming DTOs.JSONInputStream Marker interface for an input stream that provides a JSON string.LocaleService Provides helper method for working with locales.RESTResource This is a marker interface for REST resource implementationsSseBroadcaster.Listener<I> -
Class Summary Class Description JSONResponse Static helper methods to build up JSON-like Response objects and error handling.JSONResponse.ExceptionMapper trap exceptionsLocaleServiceImpl LocaleServiceImpl
provides helper method for working with locales in REST resources.RESTConstants Public constants for the REST APISseBroadcaster<I> We do not use the SseBroadcaster as it seems registered SseEventSinks are not removed if the peer terminates the connection.Stream2JSONInputStream ThisInputStream
will streamStream
s as JSON one item at a time.