org.wso2.wsas.transport.fileupload
Class JarZipUploadExecutor

java.lang.Object
  extended by org.wso2.wsas.transport.fileupload.AbstractFileUploadExecutor
      extended by org.wso2.wsas.transport.fileupload.JarZipUploadExecutor
All Implemented Interfaces:
FileUploadExecutor

public class JarZipUploadExecutor
extends AbstractFileUploadExecutor

Handles Jar, Zip file upload and creating a service archive out of it This class is totally comply with add_new_jar_zip.xsl. Thus, should not use in general purpose activities.


Field Summary
 
Fields inherited from class org.wso2.wsas.transport.fileupload.AbstractFileUploadExecutor
configurationContext, log
 
Constructor Summary
JarZipUploadExecutor(org.apache.axis2.context.ConfigurationContext configurationContext)
           
 
Method Summary
 boolean execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.wso2.wsas.transport.fileupload.AbstractFileUploadExecutor
checkServiceFileExtensionValidity, executeCommon, getFileName, parseRequest, uploadArtifacts, uploadFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarZipUploadExecutor

public JarZipUploadExecutor(org.apache.axis2.context.ConfigurationContext configurationContext)
Method Detail

execute

public boolean execute(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws org.wso2.utils.ServerException,
                       java.io.IOException
Throws:
org.wso2.utils.ServerException
java.io.IOException