org.apache.tuscany.sca.domain.manager.impl
Class FileServiceImpl

java.lang.Object
  extended by HttpServlet
      extended by org.apache.tuscany.sca.domain.manager.impl.FileServiceImpl

public class FileServiceImpl
extends HttpServlet

Implementation of a servlet component supporting file upload/download.


Field Summary
 java.lang.String directoryName
           
 DomainManagerConfiguration domainManagerConfiguration
           
 
Constructor Summary
FileServiceImpl()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void initialize()
          Initialize the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

directoryName

public java.lang.String directoryName

domainManagerConfiguration

public DomainManagerConfiguration domainManagerConfiguration
Constructor Detail

FileServiceImpl

public FileServiceImpl()
Method Detail

initialize

public void initialize()
                throws java.io.IOException
Initialize the component.

Throws:
java.io.IOException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws java.io.IOException
Throws:
java.io.IOException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException