Class PiHeaderStack

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiHeaderStack
    extends Object
    implements PiData
    Instance of a PiHeaderStack in a protocol-independent pipeline.
    • Method Detail

      • of

        public static PiHeaderStack of​(List<PiHeader> headers)
        Returns a new protocol-independent header stack.
        Parameters:
        headers - the list of header
        Returns:
        header stack
      • headers

        public List<PiHeader> headers()
        Return the list of header.
        Returns:
        the list of header
      • type

        public PiData.Type type()
        Description copied from interface: PiData
        Returns the type of this protocol-independent data.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object