com.khubla.pragmatach.plugin.responsive
Class ResponsiveImageController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.stat.StaticResourceController
com.khubla.pragmatach.plugin.responsive.ResponsiveImageController
- All Implemented Interfaces:
- PragmatachController
@Controller(name="ResponsiveImageController")
public class ResponsiveImageController
- extends StaticResourceController
- Author:
- tome
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponsiveImageController
public ResponsiveImageController()
- ctor
getscaledimage
@Route(uri="/pragmatach/plugin/getscaledimage/@img/@xscale/@yscale")
public Response getscaledimage(@RouteParameter(name="img")
String imageResource,
@RouteParameter(name="xscale")
double xscale,
@RouteParameter(name="yscale")
double yscale)
throws PragmatachException
- render
- Throws:
PragmatachException
getsizedimage
@Route(uri="/pragmatach/plugin/getsizedimage/@img/@width/@height")
public Response getsizedimage(@RouteParameter(name="img")
String imageResource,
@RouteParameter(name="width")
int width,
@RouteParameter(name="height")
int height)
throws PragmatachException
- render
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.