Documentation for a newer release is available. View Latest

How do I provide a custom htm processor?

As discussed in HTM Processor, a set of default behaviours are provided for all task types. If you require to change these, then you simply need to create a new instance of the HTM processor and inject it into the spring context.

It’s important to note that when doing this, it’s necessary to implement the "supportedTypes" method and provide a list of all the HTM Requests that you wish this processor to be used for instead of the default one. For example, if you want to override the behaviour for 'HTM Request One' you’d add:

@Override
public List<String> supportedTypes() {
    return List.of("HTM Request One");
}
A custom HTM processor can support multiple different HTM requests; simply add them to the list!