+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..* 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

Copyright © 2008-2015 predic8 GmbH
Moltkestr. 40, 53173 Bonn, Tel. +49 (228) 555 25 76-0