Interface Attribute

All Superinterfaces:
io.netty.buffer.ByteBufHolder, Comparable<InterfaceHttpData>, HttpData, InterfaceHttpData, io.netty.util.ReferenceCounted
All Known Implementing Classes:
DiskAttribute, MemoryAttribute, MixedAttribute

public interface Attribute extends HttpData
Attribute interface
  • Method Details

    • getValue

      String getValue() throws IOException
      Returns the value of this HttpData.
      Throws:
      IOException
    • setValue

      void setValue(String value) throws IOException
      Sets the value of this HttpData.
      Throws:
      IOException
    • copy

      Attribute copy()
      Specified by:
      copy in interface io.netty.buffer.ByteBufHolder
      Specified by:
      copy in interface HttpData
    • duplicate

      Attribute duplicate()
      Specified by:
      duplicate in interface io.netty.buffer.ByteBufHolder
      Specified by:
      duplicate in interface HttpData
    • retainedDuplicate

      Attribute retainedDuplicate()
      Specified by:
      retainedDuplicate in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retainedDuplicate in interface HttpData
    • replace

      Attribute replace(io.netty.buffer.ByteBuf content)
      Specified by:
      replace in interface io.netty.buffer.ByteBufHolder
      Specified by:
      replace in interface HttpData
    • retain

      Attribute retain()
      Specified by:
      retain in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retain in interface HttpData
      Specified by:
      retain in interface InterfaceHttpData
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
    • retain

      Attribute retain(int increment)
      Specified by:
      retain in interface io.netty.buffer.ByteBufHolder
      Specified by:
      retain in interface HttpData
      Specified by:
      retain in interface InterfaceHttpData
      Specified by:
      retain in interface io.netty.util.ReferenceCounted
    • touch

      Attribute touch()
      Specified by:
      touch in interface io.netty.buffer.ByteBufHolder
      Specified by:
      touch in interface HttpData
      Specified by:
      touch in interface InterfaceHttpData
      Specified by:
      touch in interface io.netty.util.ReferenceCounted
    • touch

      Attribute touch(Object hint)
      Specified by:
      touch in interface io.netty.buffer.ByteBufHolder
      Specified by:
      touch in interface HttpData
      Specified by:
      touch in interface InterfaceHttpData
      Specified by:
      touch in interface io.netty.util.ReferenceCounted