|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.javactionscript.server.RemoteTransactionProperties
public class RemoteTransactionProperties
The configuration parameters used by the RemoteTransaction instances.
The RemoteTransactionProperties object can be accessed from inside the ContextFactory constructor override.
| Field Summary | |
|---|---|
long |
maxRequestSize
The maximum size of a HTTP request, in bytes. |
long |
maxUploadSize
The maximum size allowed for one incoming upload file, in bytes. |
static int |
MULTIPART_FORBID_UPLOAD_FILES
With this mode each RemoteTransaction that receives one or more upload files will be aborted and will return an error response
(requires that Jakarta Commons fileUpload library (commons-fileupload.jar) is accessible from the web application)
The multipart request will be read using the streaming API. |
static int |
MULTIPART_IGNORE_UPLOAD_FILES
With this mode all the incoming upload files will be ignored but the RemoteTransaction will still be executed
(requires that Jakarta Commons fileUpload library (commons-fileupload.jar) is accessible from the web application)
The multipart request will be read using the streaming API. |
static int |
MULTIPART_NOT_ALLOWED
With this mode all the multipart requests will be rejected and will fill the TransactionOutput with the error description. |
static int |
MULTIPART_SAVE_UPLOAD_FILES_IN_FOLDER_AND_DELETE_AT_TRANSACTION_CLOSE
With this mode the incoming upload files will be saved temporary during the RemoteTransaction life and deleted automatically once the RemoteTransaction is closed
(requires that Jakarta Commons fileUpload library (commons-fileupload.jar) is accessible from the web application)
The multipart request will be read using the streaming API. |
int |
multipartMode
Defines if the multipart requests are allowed and how the incoming upload files will be handled. |
| Constructor Summary | |
|---|---|
RemoteTransactionProperties()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long maxRequestSize
public long maxUploadSize
RemoteTransaction will be aborted and will return an error response.
public int multipartMode
MULTIPART_FORBID_UPLOAD_FILES
MULTIPART_IGNORE_UPLOAD_FILES
MULTIPART_NOT_ALLOWED
MULTIPART_SAVE_UPLOAD_FILES_IN_FOLDER_AND_DELETE_AT_TRANSACTION_CLOSE
public static final int MULTIPART_NOT_ALLOWED
TransactionOutput with the error description.
public static final int MULTIPART_IGNORE_UPLOAD_FILES
RemoteTransaction will still be executed
(requires that Jakarta Commons fileUpload library (commons-fileupload.jar) is accessible from the web application)
public static final int MULTIPART_FORBID_UPLOAD_FILES
RemoteTransaction that receives one or more upload files will be aborted and will return an error response
(requires that Jakarta Commons fileUpload library (commons-fileupload.jar) is accessible from the web application)
public static final int MULTIPART_SAVE_UPLOAD_FILES_IN_FOLDER_AND_DELETE_AT_TRANSACTION_CLOSE
RemoteTransaction life and deleted automatically once the RemoteTransaction is closed
(requires that Jakarta Commons fileUpload library (commons-fileupload.jar) is accessible from the web application)
| Constructor Detail |
|---|
public RemoteTransactionProperties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||