Go to new doc!

+49 228 5552576-0


info@predic8.com

proxy

Description

Clients can send HTTP requests to a proxy that forward the request to a Web server. It acts onbehalf of the client.

Can be used in

spring:beans, router

Syntax

				<proxy name="string" 
						  port="integer"
						  blockRequest="[true,false]"
						  blockResponse="[true,false]">
					[interceptors]*
				</proxy>
			
Listing 1: proxy Syntax

Sample

			
				<proxy name="HTTP Proxy" port="3128" >
					<transform xslt="strip.xslt"/>
					<switch>
						<case xPath="//convert" url="http://www.thomas-bayer.com/axis2/" />
					</switch>	
				</proxy>
			
Listing 2: proxy Example

Attributes

Name Required Default Description Example
blockRequest false false legacy attribute for usage by Membrane Monitor
blockResponse false false legacy attribute for usage by Membrane Monitor
ip false -
name false By default, a name will be automatically generated from the target host, port, etc. The name as shown in the Admin Console.
port false -

Child Elements

Position Cardinality Description Element
1 0..1 Configures the usage of inbound SSL (HTTPS). ssl
2 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