kendarorg / kendarorg/HttpAnsweringMachine

Http2/gRPC: Add protocol

Open
#95 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
34
Forks
4
PR merge metrics
No merged PRs in 30d

Description

* https://undertow.io/
* https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
* https://grpc.io/docs/languages/java/basics/
* Basic HTTP2 server using Undertow Server API: https://undertow.io/ ( https://stackoverflow.com/questions/44531004/java-http-2-server )

  Undertow server = Undertow.builder().setServerOption(UndertowOptions.ENABLE_HTTP2, true)

.addHttpListener(port, host).setHandler(exchange -> {
System.out.println("Port: " + port + ", Client address is: " + exchange.getConnection().getPeerAddress().toString());
exchange.getResponseHeaders().put(Headers.CONTENT_TYPE, "application/json");
// exchange.getResponseSender().send("Undertow Hi");

}).build();
server.start();

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are identified. Start by reading the linked HTTP/2 and gRPC protocol documentation and the Undertow server references, then determine the project entry point for protocol handling; done means the project supports the requested HTTP/2/gRPC protocol behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, java
Domain
api, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.