wt.clients.util
Interface MultiPartPostIfc

All Known Implementing Classes:
MultiPartPost, RMIMultiPartPost

public interface MultiPartPostIfc


Field Summary
static int OPERATION_CANCEL
          Returned by getOperationStatus().
static int OPERATION_CANCEL_REQUEST
          Returned by getOperationStatus().
static int OPERATION_COMPLETE
          Returned by getOperationStatus().
static int OPERATION_FAILURE
          Returned by getOperationStatus().
static int OPERATION_INACTIVE
          Returned by getOperationStatus().
static int OPERATION_START
          Returned by getOperationStatus().
 
Method Summary
 void cancelOperation()
           
 int getOperationStatus()
           
 int getResponseCode()
           
 String getResponseString()
           
 Thread performOperation(boolean separateThread)
           
 void setData(String contentName, String value)
           
 void setPath(String contentName, String value)
           
 

Field Detail

OPERATION_INACTIVE

public static final int OPERATION_INACTIVE
Returned by getOperationStatus(). Indicates that no operation is active.

See Also:
Constant Field Values

OPERATION_START

public static final int OPERATION_START
Returned by getOperationStatus(). Indicates that the download operation is active.

See Also:
Constant Field Values

OPERATION_CANCEL_REQUEST

public static final int OPERATION_CANCEL_REQUEST
Returned by getOperationStatus(). Indicates that the application has requested that the operation be cancelled.

See Also:
Constant Field Values

OPERATION_CANCEL

public static final int OPERATION_CANCEL
Returned by getOperationStatus(). Indicates that the operation was cancelled at application request.

See Also:
Constant Field Values

OPERATION_COMPLETE

public static final int OPERATION_COMPLETE
Returned by getOperationStatus(). Indicates that the operation completed successfully.

See Also:
Constant Field Values

OPERATION_FAILURE

public static final int OPERATION_FAILURE
Returned by getOperationStatus(). Indicates that the operation failed. The operationFailure code indicates the reason for the failure.

See Also:
Constant Field Values
Method Detail

setData

public void setData(String contentName,
                    String value)

setPath

public void setPath(String contentName,
                    String value)

performOperation

public Thread performOperation(boolean separateThread)

getOperationStatus

public int getOperationStatus()

getResponseCode

public int getResponseCode()

getResponseString

public String getResponseString()

cancelOperation

public void cancelOperation()