Go to new doc!

+49 228 5552576-0


info@predic8.com

request

Description

Interceptors are usually applied to requests and responses. By nesting interceptors into a <request> Element you can limit their applictaion to requests only.

Can be used in

if, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler

Syntax

				<request>
				  [interceptors]*
				</request>
Listing 1: request Syntax

Sample

				<serviceProxy port="2000">
				  <request>
				    <regExReplacer regex="Hallo" replace="Hello" />
				    <transform xslt="customer2person.xsl" />
				  </request>		
				</serviceProxy>
Listing 2: request Example

Child Elements

Position Cardinality Description Element
1 0..* accessControl, accountRegistration, adminConsole, analyser, apiKeyChecker, apiManagement, authHead2Body, balancer, basicAuthentication, cache, clamav, clusterNotification, counter, dispatching, exchangeStore, formValidation, gatekeeper, groovy, groovyTemplate, headerFilter, http2xml, httpClient, if, index, interceptor, javascript, json2Xml, jsonPointerExtractor, jwtAuth, kubernetesValidation, limit, log, login, methodOverride, ntlm, oauth2Resource, oauth2Resource2, oauth2authserver, prometheus, rateLimiter, regExReplacer, request, response, rest2Soap, reverseProxying, rewriter, routerIpResolver, ruleMatching, shutdown, soap2Rest, soapOperationExtractor, soapStackTraceFilter, spdy, statisticsCSV, statisticsJDBC, statisticsProvider, stompClient, swaggerApiKeyRequirer, swaggerRewriter, switch, tcp, template, testService, throttle, tokenValidator, transform, urlNormalizer, userFeature, validator, wadlRewriter, webServer, webServiceExplorer, webSocket, wsdlPublisher, wsdlRewriter, xenAuthentication, xml2Json, xmlContentFilter, xmlProtection, xpathExtractor or custom elements

See also