Class ChannelHandlerContent

java.lang.Object
org.openhab.core.thing.binding.generic.ChannelHandlerContent

@NonNullByDefault public class ChannelHandlerContent extends Object
The ChannelHandlerContent defines the pre-processed response
Author:
Jan N. Klug - Initial contribution
  • Constructor Details

    • ChannelHandlerContent

      public ChannelHandlerContent(byte[] rawContent, String encoding, @Nullable String mediaType)
  • Method Details

    • getRawContent

      public byte[] getRawContent()
    • getAsString

      public String getAsString()
    • getMediaType

      public @Nullable String getMediaType()