Zuul Filter
PRE: Filters execute before routing to the origin. For example: request authentication, logging debug info ROUTING: Filters handle routing the request to an origin. POST: Filters execute after the request has been routed to the origin. ERROR: Filters execute when an error occurs during one of the other phases. package org.springframework.cloud.samplezuulfilters; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.zuul.EnableZuulProxy; import org.springframework.context.annotation.Bean; @EnableZuulProxy @SpringBootApplication public class ZuulGatewayApplication { @Bean public AddResponseHeaderFilter addResponseHeaderFilter() { return new AddResponseHeaderFilter(); } @Bean public ModifyResponseBodyFilter modifyResponseHeaderFilter() { return new ModifyResponseBodyFilter(); } @Bean public ModifyResponseDataStreamFilter modifyResponseDataStreamFilter() { return new Mod...