Class ByteBasedResult

All Implemented Interfaces:
ILocatorSupport, IMimeTypeSupport, IResult, IStreamResult

public class ByteBasedResult extends StreamResult
  • Constructor Details

    • ByteBasedResult

      public ByteBasedResult(String contentType, byte[] bytes)
  • Method Details

    • getBytes

      public byte[] getBytes()
    • getLocator

      public ILocator getLocator()
      Description copied from interface: ILocatorSupport
      Return the ILocator that defines the physical resource location for the reciver.
      Returns:
      Return the ILocator that defines the physical resource location for the reciver.
    • toString

      public String toString()
      Overrides:
      toString in class Object