com.khubla.pragmatach.examples.uploadexample
Class UploadController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.examples.uploadexample.UploadController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller
public class UploadController
- extends FormPostBeanBoundController
- 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 |
UploadController
public UploadController()
render
@Route(uri="/upload",
method=post)
public Response render()
throws PragmatachException
- Throws:
PragmatachException
getFiledata
public byte[] getFiledata()
setFiledata
public void setFiledata(byte[] filedata)
Copyright © 2014 khubla.com. All rights reserved.