問題タブ [smallrye]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - Quarkus Graphql のヘッダーへのアクセス
プロジェクトで Quarkus GraphQL を使用しています。@GraphQLApiを含むクラスを定義し、その中に@Queryメソッドを定義しました。リクエストをクエリするときに、定義されたメソッドでHttpHeadersにアクセスする方法がわかりません。@HeaderParamを試しましたが、null 値を取得しています。quarkus のドキュメントにも、ヘッダーについてはあまり説明がありません。@Queryメソッドからヘッダーを取得する方法はありますか?