com.khubla.pragmatach.plugin.responsive
Class ResponsiveImageResponse

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractResponse
      extended by com.khubla.pragmatach.plugin.responsive.ResponsiveImageResponse
All Implemented Interfaces:
Response

public class ResponsiveImageResponse
extends AbstractResponse

Author:
tome

Field Summary
 
Fields inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractResponse
CONTENT_TYPE_HTML
 
Constructor Summary
ResponsiveImageResponse(Map<String,String> cacheHeaders, InputStream imageResource, double xscale, double yscale)
           
ResponsiveImageResponse(Map<String,String> cacheHeaders, InputStream imageResource, int width, int height)
           
 
Method Summary
 String getContentType()
           
 Map<String,String> getHeaders()
           
 void render(javax.servlet.http.HttpServletResponse httpServletResponse)
           
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractResponse
getCacheHeaders, getHTTPCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponsiveImageResponse

public ResponsiveImageResponse(Map<String,String> cacheHeaders,
                               InputStream imageResource,
                               double xscale,
                               double yscale)

ResponsiveImageResponse

public ResponsiveImageResponse(Map<String,String> cacheHeaders,
                               InputStream imageResource,
                               int width,
                               int height)
Method Detail

getContentType

public String getContentType()
                      throws PragmatachException
Throws:
PragmatachException

getHeaders

public Map<String,String> getHeaders()
                              throws PragmatachException
Throws:
PragmatachException

render

public void render(javax.servlet.http.HttpServletResponse httpServletResponse)
            throws PragmatachException
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.