Class SamEntityByteSequence

  • All Implemented Interfaces:
    ByteSequence

    public class SamEntityByteSequence
    extends java.lang.Object
    implements ByteSequence
    ByteSequence for the AWS SAM entity.
    Author:
    Daniel Sagenschneider
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      SamEntityByteSequence​(java.lang.String entity, boolean isBase64Encoded)
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte byteAt​(int index)
      Obtains the byte at the index.
      int length()
      Obtains the number of byte values in the ByteSequence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SamEntityByteSequence

        public SamEntityByteSequence​(java.lang.String entity,
                                     boolean isBase64Encoded)
        Instantiate.
        Parameters:
        entity - Entity.
        isBase64Encoded - Indicates if entity is Base64 encoded.
    • Method Detail

      • byteAt

        public byte byteAt​(int index)
        Description copied from interface: ByteSequence
        Obtains the byte at the index.
        Specified by:
        byteAt in interface ByteSequence
        Parameters:
        index - Index of the byte.
        Returns:
        byte at the index.