controllers
Class UploadController

java.lang.Object
  extended by controllers.UploadController

public class UploadController
extends Object


Field Summary
 org.slf4j.Logger logger
          This is the system wide logger.
 
Constructor Summary
UploadController(MimeTypes mimeTypes)
           
 
Method Summary
 Result upload()
           
 Result uploadFinish(Context context)
          This upload method expects a file and simply displays the file in the multipart upload again to the user (in the correct mime encoding).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Inject
public org.slf4j.Logger logger
This is the system wide logger. You can still use any config you like. Or create your own custom logger. But often this is just a simple solution:

Constructor Detail

UploadController

@Inject
public UploadController(MimeTypes mimeTypes)
Method Detail

upload

public Result upload()

uploadFinish

public Result uploadFinish(Context context)
                    throws Exception
This upload method expects a file and simply displays the file in the multipart upload again to the user (in the correct mime encoding).

Parameters:
context -
Returns:
Throws:
Exception


Copyright © 2012. All Rights Reserved.