Index

A B C D E F G H I J L M N O P Q R S T U V W 
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.jms destination 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.jms destination 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 BYTES body 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 BYTES body 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 inline FileMessageResponse.text.
bodyFileName - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
A file under __files that holds the body, used in place of an inline IbmMqResponse.text.
bodyFileName - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
A file under __files that holds the body, used in place of an inline JmsResponse.text.
bodyType - Variable in class com.trafficparrot.sdk.file.FileMessageResponse
How the body is written: BYTES as the bytes its Base64 text encodes, any other type as text.
bodyType - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
How JmsResponse.text is turned into the message body; TEXT when 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 of FileMessage.text, or no bytes when text is 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 canRepresent for plugins compiled against the com.trafficparrot.sdk.jms types.
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_STRING body is written in; UTF_8 when 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 through TrafficParrotServices.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, HttpResponseDefinitionTransformer and HttpResponseTransformer, 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 writing MQMessage objects.
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, JmsResponseTransformer and TextJmsResponseTransformer, 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 compareTo for plugins compiled when this class was Comparable<Destination>.
compareTo(JmsResponse) - Method in class com.trafficparrot.sdk.jms.JmsResponse
Deprecated.
The compareTo plugins compiled when this class was Comparable<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-Type header 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-Type header 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.responseMessage as it is when the response carries one, otherwise a new message with this correlation id and these reply-to names, the response's IbmMqResponse.format and 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, from TrafficParrotServices.databaseConnections().
dataSource(String) - Method in interface com.trafficparrot.sdk.database.DatabaseConnections
A DataSource for the JDBC connection with this connectionId in database-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 name is the directory's path.
destination - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
The queue or topic the response is sent to, unless IbmMqResponse.destinationLookup sends 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.destinationLookup sends it to the request's reply-to destination.
Destination - Class in com.trafficparrot.sdk.jms
Deprecated.
Use Destination instead. This class extends the new location for backward compatibility - existing SDK plugins continue to work unchanged.
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.jms types.
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.messaging destination 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 DestinationLookup instead. An IbmMqResponse that sends an MQMessage takes it through IbmMqResponse.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 DestinationLookup instead.
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 DestinationType instead.
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
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
doTransform(Destination, MQMessage, IbmMqResponse, Parameters) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
doTransform(Destination, FileMessage, FileMessageResponse) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
doTransform(Destination, FileMessage, FileMessageResponse, Parameters) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
doTransform(Destination, Message, JmsResponse) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
doTransform(Destination, Message, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.JmsResponseTransformer
Deprecated.
The transformation, for an extension that works with javax.jms messages.
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
doTransform(Destination, TextMessage, JmsResponse, Parameters) - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
Deprecated.
New extensions should override the method with Parameters available.
doTransform(Destination, MQMessage, IbmMqResponse) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponseTransformer
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
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.jms messages.
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 Parameters available.
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 resolvedText when set, otherwise the inline text.
effectiveText() - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
The response body content to send: the file-resolved resolvedText when set, otherwise the inline text.
effectiveText() - Method in class com.trafficparrot.sdk.messaging.JmsResponse
The response body content to send: the file-resolved resolvedText when set, otherwise the inline text.
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), or TrafficParrotHelper.blockHelperErrorMessage(java.lang.String, java.lang.String) for a block 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 FileMessageResponseTransformer receives, 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.jms destination 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.jms types.
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 and MessageBodyType.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.logger named after FileMessageResponseTransformer.
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 FileMessageResponseTransformer the mapping uses, or FileMessageResponse.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.destination whatever reply-to queue the request names.
format - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
The MQ format of the message; MQFMT_STRING when 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 transformers to 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_STRING response body can be written in: the characterSet of a native IBM MQ mapping's response, and of an IbmMqResponse.
IbmMqMessageFormat - Enum Class in com.trafficparrot.sdk.ibmmq
The MQ message formats a response can be written in: the format of a native IBM MQ mapping's response, and of an IbmMqResponse.
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 responseMessage as it is, from the deprecated com.trafficparrot.sdk.jms destination type.
IbmMqResponse(Destination, String) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
Creates a text response from the deprecated com.trafficparrot.sdk.jms destination 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.jms destination type.
IbmMqResponse(Destination, MQMessage, long, Optional<DestinationLookup>) - Constructor for class com.trafficparrot.sdk.ibmmq.IbmMqResponse
Creates a response that sends responseMessage as 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_STRING message in UTF_8 with no delay and no transformer, sent to the reply-to queue the request names, or to destination when 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_8 character 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 logger named after IbmMqResponseTransformer.
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 IbmMqResponseTransformer the mapping uses, or IbmMqResponse.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 doTransformJakarta rather than doTransform.
isJakartaPlugin() - Method in class com.trafficparrot.sdk.jms.TextJmsResponseTransformer
Deprecated.
Whether Traffic Parrot calls doTransformJakarta rather than doTransform.
isJakartaPlugin() - Method in class com.trafficparrot.sdk.messaging.JmsResponseTransformer
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 JmsResponseTransformer can 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.TextMessage or javax.jms.BytesMessage; when none is given, the one JmsMessageType.jmsMessageType(com.trafficparrot.sdk.messaging.MessageBodyType) gives for the JmsResponse.bodyType.
jmsMessageType(MessageBodyType) - Static method in class com.trafficparrot.sdk.jms.JmsMessageType
Deprecated.
The overload for plugins compiled against the com.trafficparrot.sdk.jms types.
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 for BYTES, PRINTABLE_CHARACTERS, a Java object and a protobuf message.
JmsMessageType - Class in com.trafficparrot.sdk.jms
Deprecated.
Use JmsMessageType instead. 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 JmsNamespaceBridge instead. 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 JmsProperty instead. 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 of JmsResponse.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 JmsResponse instead. This class extends the new location and keeps the members plugins compiled against earlier SDKs link to: those taking the com.trafficparrot.sdk.messaging types, and the older ones taking the com.trafficparrot.sdk.jms types.
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.jms destination 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.jms destination 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.jms types.
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.jms destination type.
JmsResponse(Destination, String, String) - Constructor for class com.trafficparrot.sdk.jms.JmsResponse
Deprecated.
Creates a text response, from the com.trafficparrot.sdk.jms destination 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.jms types.
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.jms types.
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.jms types.
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 JmsResponse with 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 JmsResponseBuilder instead. This class extends the new location and re-declares its methods with this class and JmsResponse as return types, which are the descriptors plugins compiled against earlier SDKs call.
JmsResponseBuilder - Class in com.trafficparrot.sdk.messaging
Builds the JmsResponse a JmsResponseTransformer returns, 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 JmsResponseTransformer instead. 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.logger named after JmsResponseTransformer.
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 JmsResponseTransformer the mapping uses, or JmsResponse.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
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 MessageBodyType instead. 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.fileMessageResponseTransformerClassName of a response that uses no transformer.
NO_TRANSFORMER - Static variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
The IbmMqResponse.ibmMqResponseTransformerClassName of a response that uses no transformer.
NO_TRANSFORMER - Static variable in class com.trafficparrot.sdk.messaging.JmsResponse
The JmsResponse.jmsResponseTransformerClassName of 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 than trafficparrot.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.jms destination 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.jms destination 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_CHARACTERS body 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_CHARACTERS body type.
properties - Variable in class com.trafficparrot.sdk.jms.JmsResponse
Deprecated.
Hides the inherited properties with 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 .properties files 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

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_1 or MQFMT_RF_HEADER_2 format; for any other format, the same as SdkIbmMqUtils.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 .properties resource from the classpath, through the class loader that loaded the SDK.
readPropertiesFile(Path) - Static method in class com.trafficparrot.sdk.PropertiesHelper
Reads a .properties file 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.bodyFileName at load time.
resolvedText - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
Content resolved from IbmMqResponse.bodyFileName at load time.
resolvedText - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
Content resolved from JmsResponse.bodyFileName at load time.
responseMessage - Variable in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
A IbmMqResponseTransformer can return an MQMessage object instead of just transforming the mapping values.
responseMessage - Variable in class com.trafficparrot.sdk.messaging.JmsResponse
Deprecated.
Use JmsResponse.jakartaResponseMessage instead. This field is kept for backward compatibility with old javax.jms customer plugins.

S

SdkIbmMqUtils - Class in com.trafficparrot.sdk.ibmmq
Helpers for an IbmMqResponseTransformer that works with MQMessage objects: 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_1 or MQFMT_RF_HEADER_2 format, 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.jms message.
setProperty(Message) - Method in class com.trafficparrot.sdk.messaging.JmsProperty
Sets this property on a javax.jms message.
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 TextJmsResponseTransformer instead. This class keeps extending the deprecated JmsResponseTransformer, 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 JmsResponseTransformer whose request arrives as a TextMessage.
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.logger named after JmsResponseTransformer.
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 when trafficparrot.virtualservice.handlebars.throwErrors is true.
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.jms types.
transform(Destination, FileMessage, FileMessageResponse, Parameters) - Method in class com.trafficparrot.sdk.file.FileMessageResponseTransformer
The entry point for plugins compiled against the com.trafficparrot.sdk.jms types.
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.jms types.
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.
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 HttpResponseDefinitionTransformer to pass to a TransformedRequestDefinition:
TransformedRequest(String, String, RequestMethod, String, HttpHeaders, ImmutableMap<String, Cookie>, boolean, String, Collection<Request.Part>) - Constructor for class com.trafficparrot.sdk.http.TransformedRequest
TransformedRequest.BodyTransformer - Interface in com.trafficparrot.sdk.http
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.
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 type with its com.trafficparrot.sdk.jms type.
type - Variable in class com.trafficparrot.sdk.messaging.Destination
Whether it is a queue or a topic: DestinationType.QUEUE or DestinationType.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.Double or java.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.destination only 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.text and FileMessageResponse.bodyFileName, a body read from bodyFileName has a TEXT or BYTES body type or none, and a BYTES body 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.text and IbmMqResponse.bodyFileName, and a body read from bodyFileName has the MQFMT_STRING format.
validate() - Method in class com.trafficparrot.sdk.messaging.JmsResponse
Checks the response is one Traffic Parrot can send: it does not set both JmsResponse.text and JmsResponse.bodyFileName, a body read from bodyFileName has the TEXT body 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: the CMQC constant 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.jms types.
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.jms message 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.jms message 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.bodyFileName sidecar bodyFile, of bytes bytes, held by reference because it is too large to read into memory: FileMessageResponse.createResponseMessage() copies it, and FileMessageResponse.effectiveText() is null.
withResolvedText(String) - Method in class com.trafficparrot.sdk.file.FileMessageResponse
Returns a copy with resolvedText set (the content read from FileMessageResponse.bodyFileName at load time).
withResolvedText(String) - Method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
Returns a copy with resolvedText set (the content read from IbmMqResponse.bodyFileName at 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 resolvedText set (the content read from JmsResponse.bodyFileName at load time).
withResponseMessage(Destination, MQMessage, long, Optional<DestinationLookup>) - Static method in class com.trafficparrot.sdk.ibmmq.IbmMqResponse
Static: builds a new response that sends responseMessage as it is, as the (Destination, MQMessage, long, Optional) constructor does, taking the destination lookup as DestinationLookup rather 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.jms view of a javax.jms message: calls on the view go to the message.
wrapAsJavax(Message) - Static method in class com.trafficparrot.sdk.messaging.JmsNamespaceBridge
A javax.jms view of a jakarta.jms message: 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 the UTF_8 character 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.
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form