Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- anyJavaClassType() - Static method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The body type
java.lang.Object, which stands for a Java object of any class. - anyJavaClassType() - Static method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The body type
java.lang.Object, which stands for a Java object of any class. - anyJavaProtoMessageType() - Static method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The body type
javaProto/*, which stands for a protobuf message of any type with a Java class. - anyJavaProtoMessageType() - Static method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The body type
javaProto/*, which stands for a protobuf message of any type with a Java class. - apply(T, Options) - Method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
Called by the template engine.
- applyGlobally() - Method in class com.trafficparrot.sdk.http.HttpResponseTransformer
-
Whether the transformer applies to every mapping, or only to those that name it in
transformers. - ASCII_850 - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
The PC code page 850 (multilingual Latin-1), CCSID 850.
B
- base64BytesResponse(Destination, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response that uses no transformer and whose body is these bytes, held as Base64, from the
com.trafficparrot.sdk.jmsdestination type. - base64BytesResponse(Destination, String, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response whose body is these bytes, held as Base64, from the
com.trafficparrot.sdk.jmsdestination type. - base64BytesResponse(Destination, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response that uses no transformer and whose body is these bytes, held as Base64.
- base64BytesResponse(Destination, byte[]) - Static method in class com.trafficparrot.sdk.messaging.JmsResponse
-
A response that uses no transformer and whose body is these bytes, held as Base64 with the
BYTESbody type. - base64BytesResponse(Destination, String, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response whose body is these bytes, held as Base64.
- base64BytesResponse(Destination, String, byte[]) - Static method in class com.trafficparrot.sdk.messaging.JmsResponse
-
A response whose body is these bytes, held as Base64 with the
BYTESbody type. - blockHelperErrorMessage(String, String) - Static method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
The error text of a block helper:
{{#name ERROR: message }}. - bodyFileName - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
A
__files/<name>sidecar holding the response body, used instead of an inlineFileMessageResponse.text. - bodyFileName - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
A file under
__filesthat holds the body, used in place of an inlineIbmMqResponse.text. - bodyFileName - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
A file under
__filesthat holds the body, used in place of an inlineJmsResponse.text. - bodyType - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
How the body is written:
BYTESas the bytes its Base64 text encodes, any other type as text. - bodyType - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
How
JmsResponse.textis turned into the message body;TEXTwhen none is given. - build() - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.
- build() - Method in class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Builds the response.
- byteArrayAsHexString(byte[]) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Bytes in upper-case hexadecimal, as IBM MQ tools show a message id or correlation id.
- bytes() - Method in class com.trafficparrot.sdk.file.FileMessage
-
The content to write: the exact bytes this message was built from with
FileMessage.ofBytes(java.lang.String, byte[], long), otherwise the UTF-8 encoding ofFileMessage.text, or no bytes whentextis null. - BYTES - Static variable in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.A binary body held as Base64: the response's text is the Base64 of the bytes to send.
- BYTES - Static variable in class com.trafficparrot.sdk.messaging.MessageBodyType
-
A binary body held as Base64: the response's text is the Base64 of the bytes to send.
C
- canRepresent(MessageBodyType) - Method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The
canRepresentfor plugins compiled against thecom.trafficparrot.sdk.jmstypes. - canRepresent(MessageBodyType) - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
Whether a body of this type can stand for a body of another type.
- ccsid - Variable in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
The coded character set identifier IBM MQ knows the character set by, as set on
MQMessage.characterSet. - characterSet - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The character set an
MQFMT_STRINGbody is written in;UTF_8when none is given. - closeQuietly(MQDestination) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Closes a queue or topic without throwing: a failure is logged at DEBUG.
- com.trafficparrot.sdk - package com.trafficparrot.sdk
-
The Traffic Parrot SDK: the classes a custom extension is written against.
- com.trafficparrot.sdk.database - package com.trafficparrot.sdk.database
-
Database connections for extensions: the connections configured in
database-connections.json, which an extension reaches throughTrafficParrotServices.databaseConnections(). - com.trafficparrot.sdk.file - package com.trafficparrot.sdk.file
-
File message extensions: the base class of a response transformer for file messages,
FileMessageResponseTransformer, with the request file and the response it works with. - com.trafficparrot.sdk.handlebars - package com.trafficparrot.sdk.handlebars
-
Handlebars helper extensions: the base class of a custom helper for response templates,
TrafficParrotHelper. - com.trafficparrot.sdk.http - package com.trafficparrot.sdk.http
-
HTTP extensions: the base classes of the two kinds of HTTP response transformer,
HttpResponseDefinitionTransformerandHttpResponseTransformer, and the classes that, with HTTP response templating off, change the request a proxied mapping sends to the backend. - com.trafficparrot.sdk.ibmmq - package com.trafficparrot.sdk.ibmmq
-
Native IBM MQ extensions: the base class of a response transformer for native IBM MQ mappings,
IbmMqResponseTransformer, with the response it works with and helpers for reading and writingMQMessageobjects. - com.trafficparrot.sdk.jms - package com.trafficparrot.sdk.jms
-
The names the JMS classes had before they moved to
com.trafficparrot.sdk.messaging. - com.trafficparrot.sdk.messaging - package com.trafficparrot.sdk.messaging
-
JMS extensions: the base classes of a response transformer for JMS mappings,
JmsResponseTransformerandTextJmsResponseTransformer, with the response they work with. - compareTo(FileMessageResponse) - Method in class com.trafficparrot.sdk.file.FileMessageResponse
- compareTo(IbmMqResponse) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
- compareTo(Destination) - Method in class com.trafficparrot.sdk.jms.Destination
-
Deprecated.The
compareTofor plugins compiled when this class wasComparable<Destination>. - compareTo(JmsResponse) - Method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.The
compareToplugins compiled when this class wasComparable<JmsResponse>. - compareTo(Destination) - Method in class com.trafficparrot.sdk.messaging.Destination
- compareTo(JmsResponse) - Method in class com.trafficparrot.sdk.messaging.JmsResponse
- connectionIds() - Method in interface com.trafficparrot.sdk.database.DatabaseConnections
-
The ids of the connections configured in
database-connections.json. - containsHeader(String) - Method in class com.trafficparrot.sdk.http.TransformedRequest
- contentEncoding(ContentTypeHeader) - Static method in class com.trafficparrot.sdk.http.TransformedRequest
-
The character set a
Content-Typeheader names, for reading a body as text. - contentEncoding(HttpHeaders) - Static method in class com.trafficparrot.sdk.http.TransformedRequest
-
The character set a message's
Content-Typeheader names, for reading its body as text. - contentFile() - Method in class com.trafficparrot.sdk.file.FileMessage
-
The file holding this message's content, for a message built with
FileMessage.ofFile(java.lang.String, java.nio.file.Path, long); empty for every other message. - contentTypeHeader() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- copy() - Method in class com.trafficparrot.sdk.http.TransformedRequestDefinition
- correlationIdToString(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
A message's correlation id in upper-case hexadecimal.
- createMessage(byte[], String, String) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The message Traffic Parrot sends for this response: the
IbmMqResponse.responseMessageas it is when the response carries one, otherwise a new message with this correlation id and these reply-to names, the response'sIbmMqResponse.formatand its body. - createResponseMessage() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
A body file held by reference is copied as it is.
D
- databaseConnections() - Method in interface com.trafficparrot.sdk.TrafficParrotServices
-
The database connections configured in
database-connections.json. - DatabaseConnections - Interface in com.trafficparrot.sdk.database
-
The database connections configured in Traffic Parrot's
database-connections.json, fromTrafficParrotServices.databaseConnections(). - dataSource(String) - Method in interface com.trafficparrot.sdk.database.DatabaseConnections
-
A
DataSourcefor the JDBC connection with thisconnectionIdindatabase-connections.json, for a library that takes one. - declareArguments - Variable in class com.trafficparrot.sdk.messaging.Destination
-
For an AMQP broker, the arguments Traffic Parrot declares the destination with; empty when there are none.
- defaultValue() - Static method in enum class com.trafficparrot.sdk.ibmmq.DestinationLookup
-
Deprecated.The lookup used when a response names none.
- defaultValue() - Static method in enum class com.trafficparrot.sdk.jms.DestinationLookup
-
Deprecated.The lookup used when a response names none.
- defaultValue() - Static method in enum class com.trafficparrot.sdk.messaging.DestinationLookup
-
The lookup used when a response names none.
- destination - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
The directory the response file is written to: its
nameis the directory's path. - destination - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The queue or topic the response is sent to, unless
IbmMqResponse.destinationLookupsends it to the request's reply-to queue. - destination - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The queue or topic the response is sent to, unless
JmsResponse.destinationLookupsends it to the request's reply-to destination. - Destination - Class in com.trafficparrot.sdk.jms
-
Deprecated.
- Destination - Class in com.trafficparrot.sdk.messaging
-
A messaging destination (queue or topic) identified by name and type.
- Destination(String, DestinationType) - Constructor for class com.trafficparrot.sdk.jms.Destination
-
Deprecated.The constructor for plugins compiled against the
com.trafficparrot.sdk.jmstypes. - Destination(String, DestinationType, boolean, Map<String, Object>) - Constructor for class com.trafficparrot.sdk.jms.Destination
-
Deprecated.Creates a destination with every field a mapping file can set.
- Destination(String, DestinationType) - Constructor for class com.trafficparrot.sdk.jms.Destination
-
Deprecated.Creates a destination from the
com.trafficparrot.sdk.messagingdestination type. - Destination(String, DestinationType) - Constructor for class com.trafficparrot.sdk.messaging.Destination
-
Creates a destination that is declared on an AMQP broker with no arguments, which is what a transformer usually wants:
new Destination("orders.reply", DestinationType.QUEUE). - Destination(String, DestinationType, boolean, Map<String, Object>) - Constructor for class com.trafficparrot.sdk.messaging.Destination
-
Creates a destination with every field a mapping file can set.
- destinationLookup - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Where the response is sent.
- destinationLookup - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
Where the response is sent.
- DestinationLookup - Enum Class in com.trafficparrot.sdk.ibmmq
-
Deprecated.Use
DestinationLookupinstead. AnIbmMqResponsethat sends anMQMessagetakes it throughIbmMqResponse.withResponseMessage(com.trafficparrot.sdk.messaging.Destination, com.ibm.mq.MQMessage, long, java.util.Optional<com.trafficparrot.sdk.messaging.DestinationLookup>); the constructors that build a response from text still take this enum. Note: Handlebars template support in mapping destinations is tracked separately. - DestinationLookup - Enum Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
DestinationLookupinstead. - DestinationLookup - Enum Class in com.trafficparrot.sdk.messaging
-
Determines how the response destination is resolved when replaying messages.
- DestinationType - Enum Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
DestinationTypeinstead. - DestinationType - Interface in com.trafficparrot.sdk.messaging
-
Type of messaging destination (queue or topic).
- disconnectAndCloseQuietly(MQQueueManager) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Disconnects from a queue manager and closes it without throwing: a failure is logged at DEBUG.
- disconnectQuietly(MQQueueManager) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Disconnects from a queue manager without throwing: a failure is logged at DEBUG.
- doApply(T, Options) - Method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
What the helper does: works out the value the template shows in its place.
- doTransform(Request, ResponseDefinition, FileSource, Parameters) - Method in class com.trafficparrot.sdk.http.HttpResponseDefinitionTransformer
-
Deprecated.Override
HttpResponseDefinitionTransformer.doTransform(ServeEvent, Parameters)instead. - doTransform(Request, Response, FileSource, Parameters) - Method in class com.trafficparrot.sdk.http.HttpResponseTransformer
-
The transformation: returns the response the client gets.
- doTransform(ServeEvent, Parameters) - Method in class com.trafficparrot.sdk.http.HttpResponseDefinitionTransformer
-
The transformation: override this one.
- doTransform(Destination, MQMessage, IbmMqResponse) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
Deprecated.Override
doTransform(Destination, MQMessage, IbmMqResponse, Parameters)instead. - doTransform(Destination, MQMessage, IbmMqResponse, Parameters) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
Deprecated.Override
doTransform(Destination, MQMessage, IbmMqResponse, Parameters)instead. - doTransform(Destination, FileMessage, FileMessageResponse) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
Deprecated.
- doTransform(Destination, FileMessage, FileMessageResponse, Parameters) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
Deprecated.
- doTransform(Destination, Message, JmsResponse) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.
- doTransform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.The transformation, for an extension that works with
javax.jmsmessages. - doTransform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.
- doTransform(Destination, TextMessage, JmsResponse) - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.
- doTransform(Destination, TextMessage, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.New extensions should override the method with
Parametersavailable. - doTransform(Destination, MQMessage, IbmMqResponse) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
Deprecated.Override
doTransform(Destination, MQMessage, IbmMqResponse, Parameters)instead. - doTransform(Destination, MQMessage, IbmMqResponse, Parameters) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
The transformation: override this one, and no other
doTransform. - doTransform(Destination, FileMessage, FileMessageResponse) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
Deprecated.
- doTransform(Destination, FileMessage, FileMessageResponse, Parameters) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
The transformation: override this one, and no other
doTransform. - doTransform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.
- doTransform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
javax.jms extensions override this method.
- doTransform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.TextJmsResponseTransformer
- doTransform(Destination, TextMessage, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.TextJmsResponseTransformer
-
javax.jms extensions override this method.
- doTransformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.The transformation, for an extension that works with
jakarta.jmsmessages. - doTransformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.
- doTransformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.
- doTransformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
jakarta.jms extensions override this method.
- doTransformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.TextJmsResponseTransformer
- doTransformJakarta(Destination, TextMessage, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.Jakarta.jms extensions should override this method with
Parametersavailable. - doTransformJakarta(Destination, TextMessage, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.TextJmsResponseTransformer
-
jakarta.jms extensions override this method.
E
- EBCDIC_US - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
The EBCDIC code page 037 (US English), CCSID 37.
- effectiveText() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
The response body content to write: the file-resolved
resolvedTextwhen set, otherwise the inlinetext. - effectiveText() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The response body content to send: the file-resolved
resolvedTextwhen set, otherwise the inlinetext. - effectiveText() - Method in class com.trafficparrot.sdk.messaging.JmsResponse
-
The response body content to send: the file-resolved
resolvedTextwhen set, otherwise the inlinetext. - equals(Object) - Method in class com.trafficparrot.sdk.messaging.Destination
- equals(Object) - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
- errorMessage(String) - Method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
The text that shows in the response in place of this helper's output when it fails, for a helper that reports a problem without throwing:
TrafficParrotHelper.inlineHelperMessage(java.lang.String, java.lang.String), orTrafficParrotHelper.blockHelperErrorMessage(java.lang.String, java.lang.String)for ablock helper. - errorMessageMap(Context, String) - Method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
An error result for a helper whose result is a map the template then reads keys from.
F
- FileMessage - Class in com.trafficparrot.sdk.file
-
A file as a message: one that a file message virtual service picked up from a request directory, which is what a
FileMessageResponseTransformerreceives, or one it is about to write to a response directory. - FileMessage(String, String, long) - Constructor for class com.trafficparrot.sdk.file.FileMessage
-
Creates a message with text content, written as UTF-8.
- FileMessageResponse - Class in com.trafficparrot.sdk.file
-
The response of a file message mapping: the file Traffic Parrot writes when a request file matches.
- FileMessageResponse(Destination, String, String) - Constructor for class com.trafficparrot.sdk.file.FileMessageResponse
-
Creates a text response that uses no transformer, from the deprecated
com.trafficparrot.sdk.jmsdestination type. - FileMessageResponse(Destination, String, String, String, MessageBodyType) - Constructor for class com.trafficparrot.sdk.file.FileMessageResponse
-
Creates a response whose body is given inline, from the deprecated
com.trafficparrot.sdk.jmstypes. - FileMessageResponse(Destination, String, String) - Constructor for class com.trafficparrot.sdk.file.FileMessageResponse
-
Creates a text response that uses no transformer, which is what a transformer usually returns.
- FileMessageResponse(Destination, String, String, String, MessageBodyType) - Constructor for class com.trafficparrot.sdk.file.FileMessageResponse
-
Creates a response whose body is given inline, with a body type: for a transformer that answers with binary content, pass
FileMessageResponse.NO_TRANSFORMER, the content as Base64 andMessageBodyType.BYTES. - FileMessageResponse(Destination, String, String, String, String, MessageBodyType) - Constructor for class com.trafficparrot.sdk.file.FileMessageResponse
-
Creates a response with every field a mapping file can set.
- FileMessageResponseTransformer - Class in com.trafficparrot.sdk.file
-
The base class of a custom file message response transformer, which decides the file Traffic Parrot writes in reply to a request file.
- FileMessageResponseTransformer() - Constructor for class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
Creates the transformer with a
FileMessageResponseTransformer.loggernamed afterFileMessageResponseTransformer. - FileMessageResponseTransformer(Logger) - Constructor for class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
Creates the transformer with a logger of the extension's choice.
- fileMessageResponseTransformerClassName - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
The class name of the
FileMessageResponseTransformerthe mapping uses, orFileMessageResponse.NO_TRANSFORMER. - fileName - Variable in class com.trafficparrot.sdk.file.FileMessage
-
The file's name, without its directory.
- fileName - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
The name of the response file WRITTEN to the response directory - a transport output name, Handlebars-templated like
FileMessageResponse.text. - fixedDelayMilliseconds - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
How long Traffic Parrot waits before it sends the response, in milliseconds; 0 for no delay.
- fixedDelayMilliseconds - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
How long Traffic Parrot waits before it sends the response, in milliseconds; 0 for no delay.
- forceMappingDestinationLookup() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Whether the response goes to
IbmMqResponse.destinationwhatever reply-to queue the request names. - format - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The MQ format of the message;
MQFMT_STRINGwhen none is given. - formatPutDateTime(GregorianCalendar) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
A put time as an ISO-8601 instant in UTC, such as
2020-01-03T10:15:30Z. - formParameter(String) - Method in class com.trafficparrot.sdk.http.TransformedRequest
- formParameters() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- fromBase64(Request, String) - Static method in class com.trafficparrot.sdk.http.TransformedRequest
-
A copy of a request whose body is the bytes this Base64 text decodes to.
- fromBytes(Request, byte[]) - Static method in class com.trafficparrot.sdk.http.TransformedRequest
-
A copy of a request with these bytes as its body.
- fromJson(Request, String) - Static method in class com.trafficparrot.sdk.http.TransformedRequest
-
A copy of a request with this text as its body.
G
- getAbsoluteUrl() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getAllHeaderKeys() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getBody() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getBodyAsBase64() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getBodyAsString() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getClientIp() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getCookies() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getDisplayName() - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
The name Traffic Parrot's web interface shows for this transformer in a mapping's list of response transformers.
- getDisplayName() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
The name Traffic Parrot's web interface shows for this transformer in a mapping's list of response transformers.
- getDisplayName() - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
The name Traffic Parrot's web interface shows for this transformer in a mapping's list of response transformers.
- getHeader(String) - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getHeaders() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getHost() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getHttpHeaders() - Method in class com.trafficparrot.sdk.http.TransformedRequest
-
The request's headers; the same as
getHeaders(). - getMethod() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getName() - Method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
The name templates call this helper by.
- getName() - Method in class com.trafficparrot.sdk.http.HttpResponseTransformer
-
The name a mapping puts in its response's
transformersto use this transformer. - getOriginalRequest() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getPart(String) - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getParts() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getPort() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getProtocol() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getScheme() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- getUrl() - Method in class com.trafficparrot.sdk.http.TransformedRequest
H
- hashCode() - Method in class com.trafficparrot.sdk.messaging.Destination
- hashCode() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
- hasTransformer() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
Whether the response names a transformer.
- hasTransformer() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Whether the response names a transformer.
- hasTransformer() - Method in class com.trafficparrot.sdk.messaging.JmsResponse
-
Whether the response names a transformer.
- header(String) - Method in class com.trafficparrot.sdk.http.TransformedRequest
- HttpResponseDefinitionTransformer - Class in com.trafficparrot.sdk.http
-
The base class of a custom HTTP response definition transformer, which changes a mapping's response before Traffic Parrot renders it or, with HTTP response templating off, the request a proxied mapping sends to the backend.
- HttpResponseDefinitionTransformer() - Constructor for class com.trafficparrot.sdk.http.HttpResponseDefinitionTransformer
-
Creates the transformer with its
HttpResponseDefinitionTransformer.logger. - HttpResponseTransformer - Class in com.trafficparrot.sdk.http
-
The base class of a custom HTTP response transformer, which changes the response a client is about to receive.
- HttpResponseTransformer() - Constructor for class com.trafficparrot.sdk.http.HttpResponseTransformer
-
Creates the transformer with its
HttpResponseTransformer.logger.
I
- IbmMqCharacterSet - Enum Class in com.trafficparrot.sdk.ibmmq
-
The character sets an
MQFMT_STRINGresponse body can be written in: thecharacterSetof a native IBM MQ mapping's response, and of anIbmMqResponse. - IbmMqMessageFormat - Enum Class in com.trafficparrot.sdk.ibmmq
-
The MQ message formats a response can be written in: the
formatof a native IBM MQ mapping's response, and of anIbmMqResponse. - IbmMqResponse - Class in com.trafficparrot.sdk.ibmmq
-
A response of a native IBM MQ mapping: the message Traffic Parrot sends when a request message matches.
- IbmMqResponse(Destination, MQMessage, long, Optional<DestinationLookup>) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a response that sends
responseMessageas it is, from the deprecatedcom.trafficparrot.sdk.jmsdestination type. - IbmMqResponse(Destination, String) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a text response from the deprecated
com.trafficparrot.sdk.jmsdestination type. - IbmMqResponse(Destination, String, IbmMqMessageFormat, String, Long, Optional<DestinationLookup>, Optional<MQMessage>) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a response with an inline body, from the deprecated
com.trafficparrot.sdk.jmsdestination type. - IbmMqResponse(Destination, MQMessage, long, Optional<DestinationLookup>) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a response that sends
responseMessageas it is. - IbmMqResponse(Destination, String) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a text response, which is what a transformer usually returns: an
MQFMT_STRINGmessage inUTF_8with no delay and no transformer, sent to the reply-to queue the request names, or todestinationwhen it names none. - IbmMqResponse(Destination, String, IbmMqMessageFormat, String, Long, IbmMqCharacterSet, Optional<DestinationLookup>, Optional<MQMessage>) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a response with an inline body and a character set, and no reply-to names.
- IbmMqResponse(Destination, String, IbmMqMessageFormat, String, Long, Optional<DestinationLookup>, Optional<MQMessage>) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a response with an inline body in the
UTF_8character set, and no reply-to names. - IbmMqResponse(Destination, String, IbmMqMessageFormat, String, String, Long, IbmMqCharacterSet, Optional<DestinationLookup>, Optional<MQMessage>, String, String) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Creates a response with every field a mapping file can set.
- IbmMqResponseTransformer - Class in com.trafficparrot.sdk.ibmmq
-
The base class of a custom native IBM MQ response transformer, which decides the message Traffic Parrot sends in reply to a request message.
- IbmMqResponseTransformer() - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
Creates the transformer with a
loggernamed afterIbmMqResponseTransformer. - IbmMqResponseTransformer(Logger) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
Creates the transformer with a logger of the extension's choice.
- ibmMqResponseTransformerClassName - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The class name of the
IbmMqResponseTransformerthe mapping uses, orIbmMqResponse.NO_TRANSFORMER. - inlineHelperMessage(String, String) - Static method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
The error text of a helper that is not a block:
{{ name ERROR: message }}. - isBlockHelper() - Method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
Whether templates use this helper as a block,
{{#name}}...{{/name}}. - isBrowserProxyRequest() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- isDefault() - Method in enum class com.trafficparrot.sdk.ibmmq.DestinationLookup
-
Deprecated.Whether this is the lookup used when a response names none.
- isDefault() - Method in enum class com.trafficparrot.sdk.jms.DestinationLookup
-
Deprecated.Whether this is the lookup used when a response names none.
- isDefault() - Method in enum class com.trafficparrot.sdk.messaging.DestinationLookup
-
Whether this is the lookup used when a response names none.
- isJakartaPlugin() - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.Whether Traffic Parrot calls
doTransformJakartarather thandoTransform. - isJakartaPlugin() - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.Whether Traffic Parrot calls
doTransformJakartarather thandoTransform. - isJakartaPlugin() - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
Whether Traffic Parrot calls
JmsResponseTransformer.doTransformJakarta(com.trafficparrot.sdk.messaging.Destination, jakarta.jms.Message, com.trafficparrot.sdk.messaging.JmsResponse, com.github.tomakehurst.wiremock.extension.Parameters)rather thanJmsResponseTransformer.doTransform(com.trafficparrot.sdk.messaging.Destination, javax.jms.Message, com.trafficparrot.sdk.messaging.JmsResponse, com.github.tomakehurst.wiremock.extension.Parameters). - isJakartaPlugin() - Method in class com.trafficparrot.sdk.messaging.TextJmsResponseTransformer
- isJavaObject() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
Whether the body is a Java object.
- isJavaProtoMessageType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
Whether this is a
javaProto/body type. - isMultipart() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- ISO_8859_1 - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
ISO 8859-1 (Latin-1), CCSID 819.
- isProtoBase64BytesMessageType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
Whether this is a
protoBase64Bytes/body type. - isProtoMessageType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
Whether this is a
proto/body type.
J
- jakartaResponseMessage - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
A
JmsResponseTransformercan return a jakarta.jms.Message object instead of just transforming the mapping values. - javaClass() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The class of a Java object body.
- javaClassType(Object) - Static method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The type of a body that is this Java object.
- javaClassType(Object) - Static method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The type of a body that is this Java object.
- javaProtoJavaType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
NOTE: this is encoded as either: - javaProto/com.example.JavaType:com.example.ProtoType - javaProto/com.example.ProtoAndJavaType
- javaProtoMessageType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
NOTE: this is encoded as either: - javaProto/com.example.JavaType:com.example.ProtoType - javaProto/com.example.ProtoAndJavaType
- javaProtoMessageType(String) - Static method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The type of a body that is a protobuf message with a Java class, when the class and the message type have one name.
- javaProtoMessageType(String) - Static method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The type of a body that is a protobuf message with a Java class, when the class and the message type have one name.
- javaProtoMessageType(String, String) - Static method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The type of a body that is a protobuf message with a Java class.
- javaProtoMessageType(String, String) - Static method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The type of a body that is a protobuf message with a Java class.
- jmsMessageType - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The class name of a kind of JMS message,
javax.jms.TextMessageorjavax.jms.BytesMessage; when none is given, the oneJmsMessageType.jmsMessageType(com.trafficparrot.sdk.messaging.MessageBodyType)gives for theJmsResponse.bodyType. - jmsMessageType(MessageBodyType) - Static method in class com.trafficparrot.sdk.jms.JmsMessageType
-
Deprecated.The overload for plugins compiled against the
com.trafficparrot.sdk.jmstypes. - jmsMessageType(MessageBodyType) - Static method in class com.trafficparrot.sdk.messaging.JmsMessageType
-
The kind of JMS message that suits a body type: a text message for
TEXT, a bytes message forBYTES,PRINTABLE_CHARACTERS, a Java object and a protobuf message. - JmsMessageType - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
JmsMessageTypeinstead. This class extends the new location for backward compatibility - existing SDK plugins continue to work unchanged. - JmsMessageType - Class in com.trafficparrot.sdk.messaging
-
Chooses the kind of JMS message a response body is sent as.
- JmsMessageType() - Constructor for class com.trafficparrot.sdk.jms.JmsMessageType
-
Deprecated.Not needed, since the one method is static.
- JmsMessageType() - Constructor for class com.trafficparrot.sdk.messaging.JmsMessageType
-
Not needed, since the one method is static.
- JmsNamespaceBridge - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
JmsNamespaceBridgeinstead. This class extends the new location, whose static methods it inherits, for backward compatibility. - JmsNamespaceBridge - Class in com.trafficparrot.sdk.messaging
-
Bridges between javax.jms and jakarta.jms namespaces using dynamic proxies.
- JmsNamespaceBridge() - Constructor for class com.trafficparrot.sdk.jms.JmsNamespaceBridge
-
Deprecated.Not needed, since every method is static.
- JmsNamespaceBridge() - Constructor for class com.trafficparrot.sdk.messaging.JmsNamespaceBridge
-
Not needed, since every method is static.
- JmsProperty - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
JmsPropertyinstead. This class extends the new location for backward compatibility - existing SDK plugins continue to work unchanged. - JmsProperty - Class in com.trafficparrot.sdk.messaging
-
A JMS property to set on a response message: one entry of a JMS mapping response's
properties, and ofJmsResponse.properties. - JmsProperty(String, String, Object) - Constructor for class com.trafficparrot.sdk.jms.JmsProperty
-
Deprecated.Creates a property.
- JmsProperty(String, String, Object) - Constructor for class com.trafficparrot.sdk.messaging.JmsProperty
-
Creates a property.
- JmsResponse - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
JmsResponseinstead. This class extends the new location and keeps the members plugins compiled against earlier SDKs link to: those taking thecom.trafficparrot.sdk.messagingtypes, and the older ones taking thecom.trafficparrot.sdk.jmstypes. - JmsResponse - Class in com.trafficparrot.sdk.messaging
-
The response of a JMS mapping: the message Traffic Parrot sends when a request message matches.
- JmsResponse(Destination, Object) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response that uses no transformer and whose body is a Java object, from the
com.trafficparrot.sdk.jmsdestination type. - JmsResponse(Destination, String) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a text response that uses no transformer, from the
com.trafficparrot.sdk.jmsdestination type. - JmsResponse(Destination, String, Parameters, String, MessageBodyType, String, List<JmsProperty>, Long, Optional<?>, Optional<Message>) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body and every other field, from the
com.trafficparrot.sdk.jmstypes. - JmsResponse(Destination, String, Object) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response whose body is a Java object, from the
com.trafficparrot.sdk.jmsdestination type. - JmsResponse(Destination, String, String) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a text response, from the
com.trafficparrot.sdk.jmsdestination type. - JmsResponse(Destination, String, String, MessageBodyType) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body of a given type, from the
com.trafficparrot.sdk.jmstypes. - JmsResponse(Destination, String, String, MessageBodyType, String, List<JmsProperty>, Long) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body, JMS properties, a delay and a JMS message type, from the
com.trafficparrot.sdk.jmstypes. - JmsResponse(Destination, String, String, MessageBodyType, List<JmsProperty>, long) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body, JMS properties and a delay, from the
com.trafficparrot.sdk.jmstypes. - JmsResponse(Destination, Object) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response that uses no transformer and whose body is a Java object.
- JmsResponse(Destination, Object) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response that uses no transformer and whose body is a Java object, held as its JSON with the object's class as the body type.
- JmsResponse(Destination, String) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a text response that uses no transformer.
- JmsResponse(Destination, String) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a text response that uses no transformer, which is what a transformer usually returns.
- JmsResponse(Destination, String, Parameters, String, String, MessageBodyType, String, List<? extends JmsProperty>, Long, Optional<DestinationLookup>, Optional<Message>, Optional<Message>, String) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response with every field, for a subclass.
- JmsResponse(Destination, String, Parameters, String, String, MessageBodyType, String, List<JmsProperty>, Long, Optional<DestinationLookup>, Optional<Message>) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with every field a mapping file can set, as the constructor of
JmsResponsewith these parameters does. - JmsResponse(Destination, String, Parameters, String, String, MessageBodyType, String, List<JmsProperty>, Long, Optional<DestinationLookup>, Optional<Message>) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response with every field a mapping file can set.
- JmsResponse(Destination, String, Object) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response whose body is a Java object.
- JmsResponse(Destination, String, Object) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response whose body is a Java object, held as its JSON with the object's class as the body type.
- JmsResponse(Destination, String, String) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a text response with no JMS properties and no delay.
- JmsResponse(Destination, String, String) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a text response with no JMS properties and no delay.
- JmsResponse(Destination, String, String, MessageBodyType) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body of a given type, no JMS properties and no delay.
- JmsResponse(Destination, String, String, MessageBodyType) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response with an inline body of a given type, no JMS properties and no delay.
- JmsResponse(Destination, String, String, MessageBodyType, String, List<JmsProperty>, Long) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body, JMS properties, a delay and a JMS message type.
- JmsResponse(Destination, String, String, MessageBodyType, String, List<JmsProperty>, Long) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response with an inline body, JMS properties, a delay and a JMS message type.
- JmsResponse(Destination, String, String, MessageBodyType, List<JmsProperty>, long) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Creates a response with an inline body, JMS properties and a delay.
- JmsResponse(Destination, String, String, MessageBodyType, List<JmsProperty>, long) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponse
-
Creates a response with an inline body, JMS properties and a delay, sent as the kind of JMS message that suits the body type.
- JmsResponseBuilder - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
JmsResponseBuilderinstead. This class extends the new location and re-declares its methods with this class andJmsResponseas return types, which are the descriptors plugins compiled against earlier SDKs call. - JmsResponseBuilder - Class in com.trafficparrot.sdk.messaging
-
Builds the
JmsResponseaJmsResponseTransformerreturns, from a destination and a body: - JmsResponseBuilder() - Constructor for class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.Creates a builder with no destination and no body.
- JmsResponseBuilder() - Constructor for class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Creates a builder with no destination and no body.
- JmsResponseTransformer - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
JmsResponseTransformerinstead. This class extends the new location and bridges its hooks to the ones below, which keep the descriptors plugins compiled against earlier SDKs override. - JmsResponseTransformer - Class in com.trafficparrot.sdk.messaging
-
The base class of a custom JMS response transformer, which decides the message Traffic Parrot sends in reply to a request message.
- JmsResponseTransformer() - Constructor for class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.Creates the transformer with a logger named after this class.
- JmsResponseTransformer() - Constructor for class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
Creates the transformer with a
JmsResponseTransformer.loggernamed afterJmsResponseTransformer. - JmsResponseTransformer(Logger) - Constructor for class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.Creates the transformer with a logger of the extension's choice.
- JmsResponseTransformer(Logger) - Constructor for class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
Creates the transformer with a logger of the extension's choice.
- jmsResponseTransformerClassName - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The class name of the
JmsResponseTransformerthe mapping uses, orJmsResponse.NO_TRANSFORMER. - jmsResponseTransformerParameters - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The mapping's own parameters for its transformer, which reads them from the response it is given; null when the mapping has none.
L
- like(Request) - Static method in class com.trafficparrot.sdk.http.TransformedRequest
-
A copy of a request: its URL, method, client IP, headers, cookies, parts and protocol, and its body as text.
- like(JmsResponse) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.Takes the destination, body and body type of a response, and nothing else of it.
- like(JmsResponse) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.
- like(JmsResponse) - Method in class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Takes the destination, body and body type of a response.
- loggableMessageBytes(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
The message's bytes as sent, except that a CICS bridge header's Authenticator, a password or passticket, is masked.
- logger - Variable in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
The logger given to the constructor; by default one named after
FileMessageResponseTransformer. - logger - Variable in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
A logger named after the helper's own class.
- logger - Variable in class com.trafficparrot.sdk.http.HttpResponseDefinitionTransformer
-
A logger named after
HttpResponseDefinitionTransformer, not after the extension's own class. - logger - Variable in class com.trafficparrot.sdk.http.HttpResponseTransformer
-
A logger named after
HttpResponseTransformer, not after the extension's own class. - logger - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
The logger given to the constructor; by default one named after
IbmMqResponseTransformer. - logger - Variable in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
The logger given to the constructor; by default one named after
JmsResponseTransformer. - logMessageBody - Static variable in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Whether
SdkIbmMqUtils.mqMessageToString(com.ibm.mq.MQMessage)includes the message body. - logMessageBodyAsPrintableCharacters - Static variable in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Whether
SdkIbmMqUtils.mqMessageToString(com.ibm.mq.MQMessage)writes the message body in the printable-characters encoding, which shows binary content, rather than decoding it as UTF-8.
M
- MessageBodyType - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
MessageBodyTypeinstead. This class extends the new location for backward compatibility - existing SDK plugins continue to work unchanged. Serialization is handled by the parent's @JsonValue annotation. The @JsonCreator here ensures Jackson creates a jms.MessageBodyType (not the parent) when deserializing to this class. - MessageBodyType - Class in com.trafficparrot.sdk.messaging
-
Describes the body type of a messaging request or response.
- MessageBodyType(String) - Constructor for class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.Creates a body type from its text in a mapping file.
- MessageBodyType(String) - Constructor for class com.trafficparrot.sdk.messaging.MessageBodyType
-
Creates a body type from its text in a mapping file.
- messageIdToString(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
A message's id in upper-case hexadecimal.
- MQFMT_NONE - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
A message with no format name, whose body may be binary.
- MQFMT_RF_HEADER_1 - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
A message that starts with a version 1 rules and formatting header (
MQRFH), which is binary. - MQFMT_RF_HEADER_2 - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
A message that starts with a version 2 rules and formatting header (
MQRFH2), which is binary. - MQFMT_STRING - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
A message whose body is text.
- mqMessageToString(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
A description of a message for a log, one field to a line: its format, message id and correlation id in hexadecimal, reply-to names, body, sequence number, user id, put application name, put time, character set and properties.
N
- name - Variable in class com.trafficparrot.sdk.messaging.Destination
-
The name of the queue or topic.
- name - Variable in class com.trafficparrot.sdk.messaging.JmsProperty
-
The property's name.
- name() - Method in interface com.trafficparrot.sdk.messaging.DestinationType
-
Returns the name of this destination type ("QUEUE" or "TOPIC").
- NO_TRANSFORMER - Static variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
The
FileMessageResponse.fileMessageResponseTransformerClassNameof a response that uses no transformer. - NO_TRANSFORMER - Static variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The
IbmMqResponse.ibmMqResponseTransformerClassNameof a response that uses no transformer. - NO_TRANSFORMER - Static variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The
JmsResponse.jmsResponseTransformerClassNameof a response that uses no transformer.
O
- ofBytes(String, byte[], long) - Static method in class com.trafficparrot.sdk.file.FileMessage
-
A message whose content is written back exactly as given, binary included.
- ofFile(Destination, String, Path) - Static method in class com.trafficparrot.sdk.file.FileMessageResponse
-
Creates a response whose content is the file
content, for a transformer that answers with a file rather than text. - ofFile(String, Path, long) - Static method in class com.trafficparrot.sdk.file.FileMessage
-
A message whose content stays in
content, for a file larger thantrafficparrot.file.body.inMemory.max.size.mb: reading it into memory could exhaust the heap.
P
- parseList(String) - Static method in class com.trafficparrot.sdk.PropertiesHelper
-
Splits a comma-separated property value into its items.
- PRINTABLE_CHARACTERS - Static variable in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.A binary body held in the printable-characters encoding: the response's text is that encoding of the bytes to send.
- PRINTABLE_CHARACTERS - Static variable in class com.trafficparrot.sdk.messaging.MessageBodyType
-
A binary body held in the printable-characters encoding, which keeps the ASCII characters in it readable: the response's text is that encoding of the bytes to send.
- printableCharactersBytesResponse(Destination, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response that uses no transformer and whose body is these bytes, held in the printable-characters encoding, from the
com.trafficparrot.sdk.jmsdestination type. - printableCharactersBytesResponse(Destination, String, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response whose body is these bytes, held in the printable-characters encoding, from the
com.trafficparrot.sdk.jmsdestination type. - printableCharactersBytesResponse(Destination, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response that uses no transformer and whose body is these bytes, held in the printable-characters encoding.
- printableCharactersBytesResponse(Destination, byte[]) - Static method in class com.trafficparrot.sdk.messaging.JmsResponse
-
A response that uses no transformer and whose body is these bytes, held in the printable-characters encoding with the
PRINTABLE_CHARACTERSbody type, which keeps readable text readable in the mapping file. - printableCharactersBytesResponse(Destination, String, byte[]) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response whose body is these bytes, held in the printable-characters encoding.
- printableCharactersBytesResponse(Destination, String, byte[]) - Static method in class com.trafficparrot.sdk.messaging.JmsResponse
-
A response whose body is these bytes, held in the printable-characters encoding with the
PRINTABLE_CHARACTERSbody type. - properties - Variable in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.Hides the inherited
propertieswith its old element type. - properties - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The JMS properties to set on the response message; empty when there are none.
- PropertiesHelper - Class in com.trafficparrot.sdk
-
Reads
.propertiesfiles and comma-separated property values, for an extension that keeps its own settings in a file. - PropertiesHelper() - Constructor for class com.trafficparrot.sdk.PropertiesHelper
-
Not needed, since every method is static.
- protoBase64BytesMessageType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The protobuf message type of a
protoBase64Bytes/body type. - protoMessageType() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The protobuf message type of a
proto/body type. - protoMessageType(String) - Static method in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.The type of a body that is a protobuf message.
- protoMessageType(String) - Static method in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The type of a body that is a protobuf message.
- putDateTime(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
When a message was put, as
SdkIbmMqUtils.formatPutDateTime(java.util.GregorianCalendar)writes it.
Q
- queryParameter(String) - Method in class com.trafficparrot.sdk.http.TransformedRequest
- QUEUE - Enum constant in enum class com.trafficparrot.sdk.jms.DestinationType
-
Deprecated.A queue.
- QUEUE - Static variable in interface com.trafficparrot.sdk.messaging.DestinationType
-
A queue.
R
- readMessageBodySkipHeaders(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
A message's body as text, without the rules and formatting headers of a message in the
MQFMT_RF_HEADER_1orMQFMT_RF_HEADER_2format; for any other format, the same asSdkIbmMqUtils.readMessageString(com.ibm.mq.MQMessage). - readMessageBytes(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
The whole of a message's data as bytes, any header included.
- readMessageString(MQMessage) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
The whole of a message's data as text, any header included, decoded in the message's character set.
- readPropertiesFile(String) - Static method in class com.trafficparrot.sdk.PropertiesHelper
-
Reads a
.propertiesresource from the classpath, through the class loader that loaded the SDK. - readPropertiesFile(Path) - Static method in class com.trafficparrot.sdk.PropertiesHelper
-
Reads a
.propertiesfile from disk. - replyToQueueManagerName - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The reply-to queue manager name the mapping sets on the response message, if it sets one.
- replyToQueueName - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The reply-to queue name the mapping sets on the response message, if it sets one.
- resolvedBodyFile() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
The file a reply is copied from: a body file too large to read into memory, or the file a transformer answered with; empty otherwise.
- resolvedBodyFileBytes() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
The size of
FileMessageResponse.resolvedBodyFile()in bytes, or null when the body is not held by reference. - resolvedDestinationName(MQDestination) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
The name of the queue or topic an open destination resolved to.
- resolvedText - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
Content resolved from
FileMessageResponse.bodyFileNameat load time. - resolvedText - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Content resolved from
IbmMqResponse.bodyFileNameat load time. - resolvedText - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
Content resolved from
JmsResponse.bodyFileNameat load time. - responseMessage - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
A
IbmMqResponseTransformercan return anMQMessageobject instead of just transforming the mapping values. - responseMessage - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
Deprecated.Use
JmsResponse.jakartaResponseMessageinstead. This field is kept for backward compatibility with old javax.jms customer plugins.
S
- SdkIbmMqUtils - Class in com.trafficparrot.sdk.ibmmq
-
Helpers for an
IbmMqResponseTransformerthat works withMQMessageobjects: reading and replacing a message's body, describing a message for a log, and closing IBM MQ objects. - SdkIbmMqUtils() - Constructor for class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Not needed, since every method is static.
- setMessageBody(MQMessage, String) - Static method in class com.trafficparrot.sdk.ibmmq.SdkIbmMqUtils
-
Replaces a message's body with this text, keeping the rules and formatting headers of a message in the
MQFMT_RF_HEADER_1orMQFMT_RF_HEADER_2format, for a transformer that sends on a changed copy of the request. - setOriginalRequest(Request) - Method in class com.trafficparrot.sdk.http.TransformedRequestDefinition
-
Keeps the transformed request.
- setProperty(Message) - Method in class com.trafficparrot.sdk.messaging.JmsProperty
-
Sets this property on a
jakarta.jmsmessage. - setProperty(Message) - Method in class com.trafficparrot.sdk.messaging.JmsProperty
-
Sets this property on a
javax.jmsmessage. - setThrowErrors(boolean) - Static method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
Sets whether a helper error fails the request.
- skipDeclare - Variable in class com.trafficparrot.sdk.messaging.Destination
-
For an AMQP broker, whether Traffic Parrot leaves the destination undeclared on the broker.
T
- text - Variable in class com.trafficparrot.sdk.file.FileMessage
-
The file's content as text, decoded as UTF-8.
- text - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
-
The response file's content, which may hold Handlebars expressions.
- text - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
The message body, which may hold Handlebars expressions.
- text - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
-
The message body, which may hold Handlebars expressions.
- TEXT - Static variable in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.A text body: the response's text is the body.
- TEXT - Static variable in class com.trafficparrot.sdk.messaging.MessageBodyType
-
A text body: the response's text is the body.
- TextJmsResponseTransformer - Class in com.trafficparrot.sdk.jms
-
Deprecated.Use
TextJmsResponseTransformerinstead. This class keeps extending the deprecatedJmsResponseTransformer, so plugins compiled against it keep their hooks. - TextJmsResponseTransformer - Class in com.trafficparrot.sdk.messaging
-
The base class of a custom JMS response transformer for text messages: a
JmsResponseTransformerwhose request arrives as aTextMessage. - TextJmsResponseTransformer() - Constructor for class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
-
Deprecated.Creates the transformer with a logger named after
JmsResponseTransformer. - TextJmsResponseTransformer() - Constructor for class com.trafficparrot.sdk.messaging.TextJmsResponseTransformer
-
Creates the transformer with a
JmsResponseTransformer.loggernamed afterJmsResponseTransformer. - throwErrorsEnabled() - Static method in class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
Whether a helper error fails the request (
trafficparrot.virtualservice.handlebars.throwErrors). - timestamp - Variable in class com.trafficparrot.sdk.file.FileMessage
-
A time in milliseconds since the epoch: for a file picked up from a local directory, when it was last modified; for one fetched from a remote server, when Traffic Parrot received it; for a response, when it was created.
- TOPIC - Enum constant in enum class com.trafficparrot.sdk.jms.DestinationType
-
Deprecated.A topic.
- TOPIC - Static variable in interface com.trafficparrot.sdk.messaging.DestinationType
-
A topic.
- toString() - Method in class com.trafficparrot.sdk.file.FileMessage
-
A binary message is described by its size: its text is a lossy decoding that can run to megabytes.
- toString() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
A BYTES body is given by its length: it can be megabytes of base64, and every response sent is logged.
- toString() - Method in class com.trafficparrot.sdk.http.TransformedRequest
- toString() - Method in class com.trafficparrot.sdk.http.TransformedRequestDefinition
- toString() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
- toString() - Method in class com.trafficparrot.sdk.messaging.Destination
- toString() - Method in class com.trafficparrot.sdk.messaging.JmsProperty
- toString() - Method in class com.trafficparrot.sdk.messaging.JmsResponse
- toString() - Method in class com.trafficparrot.sdk.messaging.MessageBodyType
- TPHBException - Exception in com.trafficparrot.sdk.handlebars
-
A Handlebars helper error that fails the request: what
TrafficParrotHelper.apply(T, com.github.jknack.handlebars.Options)throws in place of the helper's own exception whentrafficparrot.virtualservice.handlebars.throwErrorsistrue. - TPHBException(String, Throwable) - Constructor for exception com.trafficparrot.sdk.handlebars.TPHBException
-
Creates the exception.
- TrafficParrotHelper<T> - Class in com.trafficparrot.sdk.handlebars
-
The base class of a custom Handlebars helper, which a response template calls by name:
{{shout request.query.name}}. - TrafficParrotHelper() - Constructor for class com.trafficparrot.sdk.handlebars.TrafficParrotHelper
-
Creates the helper with its
TrafficParrotHelper.logger. - TrafficParrotServices - Interface in com.trafficparrot.sdk
-
What Traffic Parrot offers a custom extension beyond its own inputs: an HTTP response transformer, a Handlebars helper, or a JMS, IBM MQ or file message transformer.
- transform(Request, Response, FileSource, Parameters) - Method in class com.trafficparrot.sdk.http.HttpResponseTransformer
-
Called by Traffic Parrot.
- transform(ServeEvent) - Method in class com.trafficparrot.sdk.http.HttpResponseDefinitionTransformer
-
Called by Traffic Parrot.
- transform(Destination, MQMessage, IbmMqResponse, Parameters) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
The entry point for plugins compiled against the
com.trafficparrot.sdk.jmstypes. - transform(Destination, FileMessage, FileMessageResponse, Parameters) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
The entry point for plugins compiled against the
com.trafficparrot.sdk.jmstypes. - transform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.The entry point for plugins compiled against the
com.trafficparrot.sdk.jmstypes. - transform(Destination, MQMessage, IbmMqResponse, Parameters) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
-
Called by Traffic Parrot.
- transform(Destination, FileMessage, FileMessageResponse, Parameters) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
-
Called by Traffic Parrot.
- transform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.Called by Traffic Parrot for an extension that works with
javax.jmsmessages, asJmsResponseTransformer.transform(com.trafficparrot.sdk.messaging.Destination, javax.jms.Message, com.trafficparrot.sdk.messaging.JmsResponse, com.github.tomakehurst.wiremock.extension.Parameters)describes. - transform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
Entry point for javax plugins.
- transform(String) - Method in interface com.trafficparrot.sdk.http.TransformedRequest.BodyTransformer
-
Returns the new body.
- transformedRequest - Variable in class com.trafficparrot.sdk.http.TransformedRequestDefinition
-
The request that stands in for the client's.
- TransformedRequest - Class in com.trafficparrot.sdk.http
-
A copy of an HTTP request with a changed body or an added header, for an
HttpResponseDefinitionTransformerto pass to aTransformedRequestDefinition: - TransformedRequest(String, String, RequestMethod, String, HttpHeaders, ImmutableMap<String, Cookie>, boolean, String, Collection<Request.Part>) - Constructor for class com.trafficparrot.sdk.http.TransformedRequest
-
Deprecated.Use
TransformedRequest.like(com.github.tomakehurst.wiremock.http.Request),TransformedRequest.fromBytes(com.github.tomakehurst.wiremock.http.Request, byte[]),TransformedRequest.fromJson(com.github.tomakehurst.wiremock.http.Request, java.lang.String)orTransformedRequest.fromBase64(com.github.tomakehurst.wiremock.http.Request, java.lang.String), which copy all of this from a request. - TransformedRequest.BodyTransformer - Interface in com.trafficparrot.sdk.http
-
Changes a request body, for
TransformedRequest.withTransformBody(com.trafficparrot.sdk.http.TransformedRequest.BodyTransformer). - TransformedRequestDefinition - Class in com.trafficparrot.sdk.http
-
A response definition that carries a changed request.
- TransformedRequestDefinition(ResponseDefinition, Request) - Constructor for class com.trafficparrot.sdk.http.TransformedRequestDefinition
-
Creates a copy of a response definition that carries a changed request.
- transformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
-
Deprecated.Called by Traffic Parrot for an extension that works with
jakarta.jmsmessages, asJmsResponseTransformer.transformJakarta(com.trafficparrot.sdk.messaging.Destination, jakarta.jms.Message, com.trafficparrot.sdk.messaging.JmsResponse, com.github.tomakehurst.wiremock.extension.Parameters)describes. - transformJakarta(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
-
Entry point called by the framework for jakarta plugins.
- type - Variable in class com.trafficparrot.sdk.jms.Destination
-
Deprecated.Hides the inherited
typewith itscom.trafficparrot.sdk.jmstype. - type - Variable in class com.trafficparrot.sdk.messaging.Destination
-
Whether it is a queue or a topic:
DestinationType.QUEUEorDestinationType.TOPIC. - type - Variable in class com.trafficparrot.sdk.messaging.JmsProperty
-
The class name of the property's value:
java.lang.Boolean,java.lang.Byte,java.lang.Short,java.lang.Integer,java.lang.Long,java.lang.Float,java.lang.Doubleorjava.lang.String.
U
- UNICODE - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
UTF-16, CCSID 1200.
- UNKNOWN_BODY_TYPE - Static variable in class com.trafficparrot.sdk.jms.MessageBodyType
-
Deprecated.Stands in where a body type is not known or does not apply.
- UNKNOWN_BODY_TYPE - Static variable in class com.trafficparrot.sdk.messaging.MessageBodyType
-
Stands in where a body type is not known or does not apply.
- USE_MAPPING_RESPONSE_DESTINATION - Enum constant in enum class com.trafficparrot.sdk.ibmmq.DestinationLookup
-
Deprecated.Send the response to the mapping's response destination, whatever reply-to queue the request message names.
- USE_MAPPING_RESPONSE_DESTINATION - Enum constant in enum class com.trafficparrot.sdk.jms.DestinationLookup
-
Deprecated.Send the response to the mapping's response destination, whatever reply-to destination the request message names.
- USE_MAPPING_RESPONSE_DESTINATION - Enum constant in enum class com.trafficparrot.sdk.messaging.DestinationLookup
-
Send the response to the mapping's response destination, whatever reply-to destination the request message names.
- USE_REQUEST_MESSAGE_REPLY_TO_QUEUE_NAME_OR_MAPPING_RESPONSE_DESTINATION - Enum constant in enum class com.trafficparrot.sdk.ibmmq.DestinationLookup
-
Deprecated.Send the response to the reply-to queue the request message names, and to the mapping's response destination when it names none.
- USE_REQUEST_MESSAGE_REPLY_TO_QUEUE_NAME_OR_MAPPING_RESPONSE_DESTINATION - Enum constant in enum class com.trafficparrot.sdk.jms.DestinationLookup
-
Deprecated.Send the response to the reply-to destination the request message names, and to the mapping's response destination when it names none.
- USE_REQUEST_MESSAGE_REPLY_TO_QUEUE_NAME_OR_MAPPING_RESPONSE_DESTINATION - Enum constant in enum class com.trafficparrot.sdk.messaging.DestinationLookup
-
Send the response to the reply-to destination the request message names, and to the mapping's response destination when it names none.
- useDefaultDestinationLookup() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Whether the response goes to the reply-to queue the request names, and to
IbmMqResponse.destinationonly when it names none. - UTF_8 - Enum constant in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
UTF-8, CCSID 1208.
V
- validate() - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
Checks the response is one Traffic Parrot can write: it does not set both
FileMessageResponse.textandFileMessageResponse.bodyFileName, a body read frombodyFileNamehas aTEXTorBYTESbody type or none, and aBYTESbody is valid Base64. - validate() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Checks the response is one Traffic Parrot can send: it does not set both
IbmMqResponse.textandIbmMqResponse.bodyFileName, and a body read frombodyFileNamehas theMQFMT_STRINGformat. - validate() - Method in class com.trafficparrot.sdk.messaging.JmsResponse
-
Checks the response is one Traffic Parrot can send: it does not set both
JmsResponse.textandJmsResponse.bodyFileName, a body read frombodyFileNamehas theTEXTbody type, and the text of a Java object body is JSON that reads as an object of its class (Handlebars expressions are read as null). - value - Variable in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
The format name as IBM MQ carries it in
MQMessage.format: theCMQCconstant of the same name. - value - Variable in class com.trafficparrot.sdk.messaging.JmsProperty
-
The property's value.
- value - Variable in class com.trafficparrot.sdk.messaging.MessageBodyType
-
The body type as a mapping file writes it:
TEXT,BYTES,PRINTABLE_CHARACTERS,proto/<message type>,protoBase64Bytes/<message type>,javaProto/<Java class>,javaProto/<Java class>:<message type>, or the name of a Java class for a Java object body. - valueOf(String) - Static method in enum class com.trafficparrot.sdk.ibmmq.DestinationLookup
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.trafficparrot.sdk.jms.DestinationLookup
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.trafficparrot.sdk.jms.DestinationType
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.trafficparrot.sdk.messaging.DestinationLookup
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.trafficparrot.sdk.ibmmq.DestinationLookup
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.trafficparrot.sdk.ibmmq.IbmMqCharacterSet
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.trafficparrot.sdk.ibmmq.IbmMqMessageFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.trafficparrot.sdk.jms.DestinationLookup
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.trafficparrot.sdk.jms.DestinationType
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.trafficparrot.sdk.messaging.DestinationLookup
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withBytes(byte[]) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.
- withBytes(byte[]) - Method in class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Sets a binary body, sent as a bytes message.
- withDatabaseConnections(DatabaseConnections) - Static method in interface com.trafficparrot.sdk.TrafficParrotServices
-
Services with these database connections, for an extension's unit test:
new MyExtension(TrafficParrotServices.withDatabaseConnections(connectionId -> inMemoryDataSource)). - withDestination(Destination) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.The overload for plugins compiled against the
com.trafficparrot.sdk.jmstypes. - withDestination(Destination) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.
- withDestination(Destination) - Method in class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Sets the queue or topic the response is sent to when the request names no reply-to destination.
- withHeader(HttpHeader) - Method in class com.trafficparrot.sdk.http.TransformedRequest
-
A copy of this request with a header added.
- withJakartaResponseMessage(Destination, Message, long, Optional<DestinationLookup>) - Static method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.A response that sends a
jakarta.jmsmessage the transformer has built itself. - withJakartaResponseMessage(Destination, Message, long, Optional<DestinationLookup>) - Static method in class com.trafficparrot.sdk.messaging.JmsResponse
-
A response that sends a
jakarta.jmsmessage the transformer has built itself, in place of one built from a body and a body type. - withObject(Object) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.
- withObject(Object) - Method in class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Sets a Java object as the body, held as its JSON with the object's class as the body type.
- withResolvedBodyFile(Path, long) - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
Returns a copy whose body is the
FileMessageResponse.bodyFileNamesidecarbodyFile, ofbytesbytes, held by reference because it is too large to read into memory:FileMessageResponse.createResponseMessage()copies it, andFileMessageResponse.effectiveText()is null. - withResolvedText(String) - Method in class com.trafficparrot.sdk.file.FileMessageResponse
-
Returns a copy with
resolvedTextset (the content read fromFileMessageResponse.bodyFileNameat load time). - withResolvedText(String) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Returns a copy with
resolvedTextset (the content read fromIbmMqResponse.bodyFileNameat load time). - withResolvedText(String) - Method in class com.trafficparrot.sdk.jms.JmsResponse
-
Deprecated.
- withResolvedText(String) - Method in class com.trafficparrot.sdk.messaging.JmsResponse
-
Returns a copy with
resolvedTextset (the content read fromJmsResponse.bodyFileNameat load time). - withResponseMessage(Destination, MQMessage, long, Optional<DestinationLookup>) - Static method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Static: builds a new response that sends
responseMessageas it is, as the(Destination, MQMessage, long, Optional)constructor does, taking the destination lookup asDestinationLookuprather than the deprecated IBM MQ enum. - withText(String) - Method in class com.trafficparrot.sdk.jms.JmsResponseBuilder
-
Deprecated.
- withText(String) - Method in class com.trafficparrot.sdk.messaging.JmsResponseBuilder
-
Sets a text body, sent as a text message.
- withTransformBody(TransformedRequest.BodyTransformer) - Method in class com.trafficparrot.sdk.http.TransformedRequest
-
A copy of this request with its body changed.
- wrapAsJakarta(Message) - Static method in class com.trafficparrot.sdk.messaging.JmsNamespaceBridge
-
A
jakarta.jmsview of ajavax.jmsmessage: calls on the view go to the message. - wrapAsJavax(Message) - Static method in class com.trafficparrot.sdk.messaging.JmsNamespaceBridge
-
A
javax.jmsview of ajakarta.jmsmessage: calls on the view go to the message. - writeMessage(MQMessage, IbmMqMessageFormat, String) - Static method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Writes a body to a message as
IbmMqResponse.writeMessage(MQMessage, IbmMqMessageFormat, String, int)does, in theUTF_8character set. - writeMessage(MQMessage, IbmMqMessageFormat, String, int) - Static method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
-
Writes a body to a message, for a transformer that builds its own
MQMessage.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Destinationinstead. This class extends the new location for backward compatibility - existing SDK plugins continue to work unchanged.