com.elasticpath.domain.misc
Interface ImageRenderResponse

All Superinterfaces:
EpDomain, java.io.Serializable, Transient
All Known Implementing Classes:
ImageRenderResponseImpl

public interface ImageRenderResponse
extends Transient

Represents a response to render a image.


Method Summary
 java.lang.String getImageType()
          Return the image type.
 java.lang.String getMimeType()
          Return the mime type.
 java.awt.image.RenderedImage getScaledImage()
          Returns the scaled image.
 void setImageType(java.lang.String imageType)
          Sets the image type.
 void setMimeType(java.lang.String mimeType)
          Sets the mime type.
 void setScaledImage(java.awt.image.RenderedImage scaledImage)
          Sets the scaled image.
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getImageType

java.lang.String getImageType()
Return the image type.

Returns:
the image type

getMimeType

java.lang.String getMimeType()
Return the mime type.

Returns:
the mime type

getScaledImage

java.awt.image.RenderedImage getScaledImage()
Returns the scaled image.

Returns:
the scaled image

setImageType

void setImageType(java.lang.String imageType)
Sets the image type.

Parameters:
imageType - the image type

setMimeType

void setMimeType(java.lang.String mimeType)
Sets the mime type.

Parameters:
mimeType - the mime type

setScaledImage

void setScaledImage(java.awt.image.RenderedImage scaledImage)
Sets the scaled image.

Parameters:
scaledImage - the scaled image