com.khubla.pragmatach.examples.uploadexample
Class UploadController

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractController
      extended by com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
          extended by com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
              extended by com.khubla.pragmatach.examples.uploadexample.UploadController
All Implemented Interfaces:
BeanBoundController, PragmatachController

@Controller
public class UploadController
extends FormPostBeanBoundController

Author:
tome

Constructor Summary
UploadController()
           
 
Method Summary
 byte[] getFiledata()
           
 Response render()
           
 void setFiledata(byte[] filedata)
           
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
getPostFieldValues, populateController
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
getTemplate, getTemplateContext, getTemplateName, url_for
 
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
 
Methods inherited from interface com.khubla.pragmatach.framework.controller.PragmatachController
setPragmatachRoute, setRequest
 

Constructor Detail

UploadController

public UploadController()
Method Detail

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.