Class MaxFileUploadSizeServiceDescriptor

  • All Implemented Interfaces:
    com.jscape.util.db.IntVersioned, java.io.Serializable

    public class MaxFileUploadSizeServiceDescriptor
    extends ServiceDescriptor
    File upload size service descriptor. The service described by this descriptor takes responsibility for limiting file upload size.
    Author:
    Alex Usun
    See Also:
    Serialized Form
    • Constructor Detail

      • MaxFileUploadSizeServiceDescriptor

        public MaxFileUploadSizeServiceDescriptor​(long value)
        Creates a new descriptor instance.
        Parameters:
        value - max file upload size in bytes
      • MaxFileUploadSizeServiceDescriptor

        public MaxFileUploadSizeServiceDescriptor()
        This constructor is used by serialization sub-system and is not intended to use directly in client code.
    • Method Detail

      • getValue

        public long getValue()
        Returns max file upload size.
        Returns:
        max file upload size in bytes
      • setValue

        public void setValue​(long value)
        Sets max file upnload size.
        Parameters:
        value - max file upload size in bytes
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object