Class ResourceHandlerResult

java.lang.Object
com.aquima.interactions.framework.handler.resource.ResourceHandlerResult
All Implemented Interfaces:
IActionResult, Serializable

public class ResourceHandlerResult extends Object implements IActionResult
This class contains the result of the ResourceHandler action handler.
Since:
6.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • ResourceHandlerResult

      protected ResourceHandlerResult(String name, String type, byte[] contents)
  • Method Details

    • getName

      public String getName()
      This method returns the name of the resource.
      Returns:
      The name of the resource.
    • getContents

      public byte[] getContents()
      This method returns the contents of the resource as byte array.
      Returns:
      the contents of the resource as byte array.
    • getMimeType

      public String getMimeType()
      This method returns the mime type of the resource.
      Returns:
      the mime type of the resource.