public class ParticipantSystemStatus
extends java.lang.Object
| Constructor and Description |
|---|
ParticipantSystemStatus()
Construct an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doParticipantSystemStatus(java.lang.String dataFilename,
java.lang.String requestContentType)
Make a request to the Participant System Status web service by POSTing an aseXML file from the inbox.
|
java.lang.String |
doParticipantSystemStatusTransid(java.lang.String transactionId)
Make a GET request to the Participant System Status web service.
|
java.lang.String |
getResponse()
This method provides the web service response as a string.
|
java.lang.String |
getResponseCharset()
Reports the character set from the Content-Type header.
|
int |
getResponseCode()
Report the HTTP response code.
|
java.lang.String |
getResponseFilename()
Reports the filename from the Content-Disposition header.
|
java.lang.String |
getResponseReason()
Report the HTTP response reason.
|
java.lang.String |
getResponseType()
Reports the mime-type from the Content-Type header.
|
void |
writeResponse()
Write the web service response to a file.
|
public ParticipantSystemStatus()
throws ApplicationException
ApplicationException - if the instance cannot be initialised.public void doParticipantSystemStatus(java.lang.String dataFilename,
java.lang.String requestContentType)
throws ApplicationException
dataFilename - is the file to post from the inbox.requestContentType - defines the file type as XML or ZIP.ApplicationException - when something goes wrong.public java.lang.String doParticipantSystemStatusTransid(java.lang.String transactionId)
throws ApplicationException
transactionId - identifies requestor's transaction.ApplicationException - when something goes wrong.public int getResponseCode()
public java.lang.String getResponseReason()
public java.lang.String getResponseType()
public java.lang.String getResponseCharset()
public java.lang.String getResponseFilename()
public void writeResponse()
throws ApplicationException
ApplicationException - if an error occurs while writing the file.public java.lang.String getResponse()
throws ApplicationException
ApplicationException - if the response type was zip and the response could not be unzipped.