+49 228 5552576-0




The "if" interceptor supports conditional execution of a group of executors.

Note that this is a draft implementation only: Design decissions are still pending.

Can be used in

spring:beans, if, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy and transport


Name Required Default Description Example
language false - the language of the 'test' condition groovy
test true - the condition to be tested exc.request.header.userAgentSupportsSNI

Child Elements

Position Cardinality Description Element
1 0..* accessControl, adminConsole, analyser, apiManagement, authHead2Body, balancer, basicAuthentication, cache, clamav, clusterNotification, counter, dispatching, exchangeStore, formValidation, groovy, headerFilter, http2xml, httpClient, if, index, interceptor, limit, log, login, oauth2Resource, oauth2authserver, rateLimiter, regExReplacer, request, response, rest2Soap, reverseProxying, rewriter, ruleMatching, soap2Rest, soapOperationExtractor, soapStackTraceFilter, spdy, statisticsCSV, statisticsJDBC, statisticsProvider, stompClient, swaggerRewriter, switch, tcp, testService, throttle, tokenValidator, transform, urlNormalizer, userFeature, validator, wadlRewriter, webServer, webServiceExplorer, webSocket, wsdlPublisher, wsdlRewriter, xmlContentFilter, xmlProtection or custom elements