Closed 0x1306e6d closed 3 years ago
To separate remapping request headers from UpstreamService.
UpstreamService
RemappingRequestHeadersService
final String pathPattern = "/foo/bar/{baz}/{qux}"; service.decorate(RemappingRequestHeadersService.newDecorator(pathPattern));
RequestHeaders
RequestContext
Motivation
To separate remapping request headers from
UpstreamService
.Description
RemappingRequestHeadersService
RequestHeaders
is saved intoRequestContext
's attributes for reusing in other services