public final class PutMessage extends ParentClient
| Constructor and Description |
|---|
PutMessage()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
put(java.lang.StringBuilder xmlMessage)
Sends a binary message to the server for further processing.
|
java.lang.String |
put(java.lang.String name,
byte[] data)
Sends an XML message as binary to the server for further processing (format = null).
|
java.lang.String |
put(java.lang.String name,
byte[] data,
es.ree.eemws.core.utils.iec61968100.EnumMessageFormat format)
Sends a binary message (can be used to send XML as binary) to the server for further processing.
|
ch.iec.tc57._2011.schema.message.ResponseMessage |
putWithResponseMessage(java.lang.StringBuilder xmlMessage)
Sends a binary message to the server for further processing.
|
ch.iec.tc57._2011.schema.message.ResponseMessage |
putWithResponseMessage(java.lang.String name,
byte[] data)
Sends an XML message as binary to the server for further processing (format = null).
|
ch.iec.tc57._2011.schema.message.ResponseMessage |
putWithResponseMessage(java.lang.String name,
byte[] data,
es.ree.eemws.core.utils.iec61968100.EnumMessageFormat format)
Sends a binary message (can be used to send XML as binary) to the server for further processing.
|
getMessageMetaData, sendMessage, setCertificate, setEndPoint, setEndPoint, setPrivateKey, setSignRequest, setVerifyResponse, validateResponse, validateResponsepublic java.lang.String put(java.lang.String name,
byte[] data)
throws es.ree.eemws.core.utils.operations.put.PutOperationException
name - Name of the binary file.data - Binary content.null if the response has no payload.es.ree.eemws.core.utils.operations.put.PutOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)putWithResponseMessage(String, byte[])public ch.iec.tc57._2011.schema.message.ResponseMessage putWithResponseMessage(java.lang.String name,
byte[] data)
throws es.ree.eemws.core.utils.operations.put.PutOperationException
name - Name of the binary file.data - Binary content.es.ree.eemws.core.utils.operations.put.PutOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)put(String, byte[])public java.lang.String put(java.lang.String name,
byte[] data,
es.ree.eemws.core.utils.iec61968100.EnumMessageFormat format)
throws es.ree.eemws.core.utils.operations.put.PutOperationException
name - Name of the binary file.data - Binary content.format - Message's format. Can be null to use default format.null if the response has no payload.es.ree.eemws.core.utils.operations.put.PutOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)putWithResponseMessage(String, byte[], EnumMessageFormat)public ch.iec.tc57._2011.schema.message.ResponseMessage putWithResponseMessage(java.lang.String name,
byte[] data,
es.ree.eemws.core.utils.iec61968100.EnumMessageFormat format)
throws es.ree.eemws.core.utils.operations.put.PutOperationException
name - Name of the binary file.data - Binary content.format - Message's format. Can be null to use default format.es.ree.eemws.core.utils.operations.put.PutOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)put(String, byte[], EnumMessageFormat)public java.lang.String put(java.lang.StringBuilder xmlMessage)
throws es.ree.eemws.core.utils.operations.put.PutOperationException
xmlMessage - Xml message to be sent.null if the response has no payload.es.ree.eemws.core.utils.operations.put.PutOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)putWithResponseMessage(StringBuilder)public ch.iec.tc57._2011.schema.message.ResponseMessage putWithResponseMessage(java.lang.StringBuilder xmlMessage)
throws es.ree.eemws.core.utils.operations.put.PutOperationException
xmlMessage - Xml message to be sent.es.ree.eemws.core.utils.operations.put.PutOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)put(StringBuilder)