com.khubla.pragmatach.framework.controller.impl.stat
Class StaticResourceController

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractController
      extended by com.khubla.pragmatach.framework.controller.impl.stat.StaticResourceController
All Implemented Interfaces:
PragmatachController
Direct Known Subclasses:
ResponsiveImageController

@Controller(name="pragmatachStaticResourceController")
public class StaticResourceController
extends AbstractController

Author:
tome

Constructor Summary
StaticResourceController()
          ctor
 
Method Summary
protected  InputStream getStaticResourceInputStream(String[] imageResource)
           
 Response render(String[] imageResource)
           
 
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
 

Constructor Detail

StaticResourceController

public StaticResourceController()
ctor

Method Detail

getStaticResourceInputStream

protected InputStream getStaticResourceInputStream(String[] imageResource)
                                            throws PragmatachException
Throws:
PragmatachException

render

@Route(uri="/public/*")
public Response render(String[] imageResource)
                throws PragmatachException
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.