Class ResourceHandlerResult
java.lang.Object
com.aquima.interactions.framework.handler.resource.ResourceHandlerResult
- All Implemented Interfaces:
IActionResult
,Serializable
This class contains the result of the ResourceHandler action handler.
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResourceHandlerResult
(String name, String type, byte[] contents) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
This method returns the contents of the resource as byte array.This method returns the mime type of the resource.getName()
This method returns the name of the resource.
-
Constructor Details
-
ResourceHandlerResult
-
-
Method Details
-
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
This method returns the mime type of the resource.- Returns:
- the mime type of the resource.
-