Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は、新しい netty 4.0 lib を中心に Http クライアントを作成しました。投稿リクエストにファイルを含める場所/方法が見つからないようです。私が今見つけたユースケースの 1 つは、写真をサードパーティ API にアップロードすることです。
DefaultHttpRequest クラスには、渡されるバッファ用の setContent がありますが、ポスト パラメータ (inc ファイル フィールド) をエンコードするユーティリティはありますか?
HTTP Post サポートはまだ netty 4 に移植されていません。これは to-do-list atm にあります。