org.moremotion.servlet
Class FileServer

java.lang.Object
  extended by org.moremotion.servlet.FileServer
All Implemented Interfaces:
ActionService

public class FileServer
extends java.lang.Object
implements ActionService

Version:
$Id: FileServer.java 393 2009-06-29 11:28:40Z erkan $

Constructor Summary
FileServer()
           
 
Method Summary
 void doService(ActionServiceContext asc)
          This method of the implementer class is called by the MoreMotion's ServiceInvokerServlet.
static java.lang.String getFileId(MoreMotionRequest request, java.lang.String fileName, java.lang.String contentType)
           
static void writeFileToResponse(MoreMotionRequest request, java.lang.String fileName, java.lang.String contentType, boolean nocache)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileServer

public FileServer()
Method Detail

doService

public void doService(ActionServiceContext asc)
               throws ServiceException,
                      java.io.IOException
Description copied from interface: ActionService
This method of the implementer class is called by the MoreMotion's ServiceInvokerServlet.

Specified by:
doService in interface ActionService
Parameters:
asc - ActionServiceContext object
Throws:
ServiceException - If something goes wrong with the service.
java.io.IOException

writeFileToResponse

public static void writeFileToResponse(MoreMotionRequest request,
                                       java.lang.String fileName,
                                       java.lang.String contentType,
                                       boolean nocache)
                                throws java.io.IOException
Throws:
java.io.IOException

getFileId

public static java.lang.String getFileId(MoreMotionRequest request,
                                         java.lang.String fileName,
                                         java.lang.String contentType)


Copyright © 2002-2011 MOR YAZILIM. All Rights Reserved.