public class SubmissionResult
extends java.lang.Object
implements com.aspose.ms.System.IDisposable
This class represents the result of the submitting form data to the server.
Constructor and Description |
---|
SubmissionResult(RequestMessage request,
ResponseMessage response,
HTMLFormElement owner)
Initializes a new instance of the
SubmissionResult class. |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases unmanaged and managed resources.
|
Content |
getContent()
Gets the content of the response message.
|
ResponseMessage |
getResponseMessage()
Gets the message represented the result of the submitting data to the server.
|
boolean |
isSuccess()
Gets a value indicating whether this result is success.
|
Document |
loadDocument()
This method loads the new document based on response message.
|
public SubmissionResult(RequestMessage request, ResponseMessage response, HTMLFormElement owner)
Initializes a new instance of the SubmissionResult
class.
request
- The request.response
- The response.owner
- The owner.public ResponseMessage getResponseMessage()
Gets the message represented the result of the submitting data to the server.
Value: The response message.public Content getContent()
Gets the content of the response message.
Value: The content.public boolean isSuccess()
Gets a value indicating whether this result is success.
public Document loadDocument()
This method loads the new document based on response message.
public void dispose()
Releases unmanaged and managed resources.
dispose
in interface com.aspose.ms.System.IDisposable