@Inject
private Event<DeenrichHttpResponse> deenrichHttpResponse;
public void tryEnrichRequest(@Observes FilterHttpRequest event) {
final HttpRequest request = event.getRequest();
final HttpRequestEnrichmentService enrichmentService = event.getService();
if (WarpCommons.debugMode()) {
System.out.println(" (R) " + request.getUri());
}
Collection<RequestPayload> matchingPayloads = enrichmentService.getMatchingPayloads(request);
if (!matchingPayloads.isEmpty()) {
if (matchingPayloads.size() > 1) {
pushException(new MultipleGroupsPerRequestException(request.getUri()));
} else {