question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTP header/parameter-based path mapping

See original GitHub issue

Spring framework provides HTTP header/parameter-based path mapping like below:

@GetMapping(value = "/hello", params = {"name"})
public String method(@RequestParam("name") String name) { ... }

I think that it’s not a high priority issue, but we need to figure out how to support this kind of usage.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hyangtackcommented, Jul 22, 2019

Couldn’t figure out why we need headers(HttpHeaders), would you tell me why?

Ah, yes. headers(Iterable<String>) is enough. It’s my mistake. 😃

0reactions
trustincommented, Aug 28, 2019

But… maybe we need to make this consistent with @AdditionalHeader, which has name and values… (or we can change AdditionalHeader.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Defining and mapping headers, query parameters, or path ...
You can add HTTP headers, query parameters, and path parameters to request messages and map them to various request fields. For response messages,...
Read more >
Amazon API Gateway API request and response data ...
Map method request data to integration request parameters. Integration request parameters, in the form of path variables, query strings or headers, can be ......
Read more >
Transforming API requests and responses - 亚马逊云科技
You use parameter mapping to modify API requests and responses for HTTP APIs. ... You can modify headers, query strings, or the request...
Read more >
Set up custom header and query parameter-based routing for ...
Read the Traffic management overview for external HTTP(S) load balancers. Be familiar with the URL map API. Set up query parameter-based routing. This...
Read more >
API Gateway:Parameter mapping and verification rules
header parameters are read from HTTP request headers. ... API Gateway identifies the frontend path parameter and maps it to the backend ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found