This section describes how to create a Decoder and link it to the Binder. It is necessary to read Implement and declare the binder in a Java project beforehand.
In Eclipse, a class must be created to implement the interface com.neotys.extensions.codec.functions.Decoder
.
The Name of the Java class can be a custom one, e.g. MyDecoder
.
A click on Finish validates the new MyDecoder
class.
It is now necessary to link MyDecoder
to MyBinder
.
For example, when a request is received while recording, the contenu of the request body is decoded with MyDecoder
.
com.neotys.extensions.codec.functions.Decoder
.Decoder
class to the Binder
.