|
|
@ -952,7 +952,7 @@ In order to write a GatewayFilter you will need to implement `GatewayFilterFacto |
|
|
|
|
|
|
|
|
|
|
|
.PreGatewayFilterFactory.java |
|
|
|
.PreGatewayFilterFactory.java |
|
|
|
[source,java] |
|
|
|
[source,java] |
|
|
|
--- |
|
|
|
---- |
|
|
|
public class PreGatewayFilterFactory extends AbstractGatewayFilterFactory<PreGatewayFilterFactory.Config> { |
|
|
|
public class PreGatewayFilterFactory extends AbstractGatewayFilterFactory<PreGatewayFilterFactory.Config> { |
|
|
|
|
|
|
|
|
|
|
|
public PreGatewayFilterFactory() { |
|
|
|
public PreGatewayFilterFactory() { |
|
|
@ -976,12 +976,11 @@ public class PreGatewayFilterFactory extends AbstractGatewayFilterFactory<PreGat |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
---- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PostGatewayFilterFactory.java |
|
|
|
.PostGatewayFilterFactory.java |
|
|
|
[source,java] |
|
|
|
[source,java] |
|
|
|
--- |
|
|
|
---- |
|
|
|
public class PostGatewayFilterFactory extends AbstractGatewayFilterFactory<PostGatewayFilterFactory.Config> { |
|
|
|
public class PostGatewayFilterFactory extends AbstractGatewayFilterFactory<PostGatewayFilterFactory.Config> { |
|
|
|
|
|
|
|
|
|
|
|
public PostGatewayFilterFactory() { |
|
|
|
public PostGatewayFilterFactory() { |
|
|
@ -1004,8 +1003,7 @@ public class PostGatewayFilterFactory extends AbstractGatewayFilterFactory<PostG |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
---- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=== Writing Custom Global Filters |
|
|
|
=== Writing Custom Global Filters |
|
|
|
|
|
|
|
|
|
|
|