JSCAPE MFT Server

com.jscape.inet.mft.management.descriptors
Class MaxFileUploadSizeServiceDescriptor

java.lang.Object
  extended by com.jscape.inet.mft.management.descriptors.MaxFileUploadSizeServiceDescriptor
All Implemented Interfaces:
ServiceDescriptor

public class MaxFileUploadSizeServiceDescriptor
extends java.lang.Object
implements ServiceDescriptor

File upload size service descriptor. The service described by this descriptor takes responsibility for limiting file upload size.

Author:
Alex Usun

Field Summary
static long DEFAULT_VALUE
           
 
Constructor Summary
MaxFileUploadSizeServiceDescriptor()
          This constructor is used by serialization sub-system and is not intended to use directly in client code.
MaxFileUploadSizeServiceDescriptor(long value)
          Creates a new descriptor instance.
 
Method Summary
 long getValue()
          Returns max file upload size.
 void setValue(long value)
          Sets max file upnload size.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_VALUE

public static final long DEFAULT_VALUE
See Also:
Constant Field Values
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

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved