Skip to content

Can you provide a wrapper class for the conversion between Servlet and Armeria HttpRequest and HttpResponse? #5237

Answered by jrhee17
i1619khz asked this question in Q&A
Discussion options

You must be logged in to vote

there are several frameworks that rely on Servlet for tasks like retrieving HTTP parameters.

Hi, Armeria provides an API to retrieve parameters.

Server.builder().service("/", (ctx, req) -> {
    QueryParams queryParams = ctx.queryParams();
    ..
});

wrapper class for the conversion between Servlet and Armeria HttpRequest and HttpResponse?

It might help if you can explain in more detail why you would like this

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by i1619khz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants