Interface IWSUploader

All Known Subinterfaces:
IWSUploaderService

public interface IWSUploader
Interface used to handle uploads to the server from a client, e.g. profile images. In order to be able to accept an upload from a client, it must beforehand be registered by a client session to get a IWSUploaderAcceptor instance. This instance is required to perform validation if upload is enabled and of what is being uploaded and to where.
Author:
Christopher Mindus
  • Field Details Link icon

    • BASE_CONTEXT_PATH Link icon

      static final String BASE_CONTEXT_PATH
      The base context path of the upload service: "/|izupload".
      See Also:
  • Method Details Link icon

    • isFileUploadEnabled Link icon

      boolean isFileUploadEnabled()
      Checks if file upload is enabled or not.
      Returns:
      The upload enablement flag, false by default.
    • getMaximumUploadFileSize Link icon

      int getMaximumUploadFileSize()
      Returns the maximum size of any uploaded file in MB.
      Returns:
      The file size in MB, default 50 MB.
    • getFileUploadStagingDirectory Link icon

      String getFileUploadStagingDirectory()
      Gets the upload directory where files are placed in a staging area.
      Returns:
      The directory name, relative the server's current directory.