クラスの使用
org.springframework.http.HttpEntity
HttpEntity を使用するパッケージ
パッケージ
説明
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
クライアント側の HTTP 上の抽象化が含まれています。
HttpMessageConverter 抽象化を提供して、Java オブジェクトと HTTP 入出力メッセージ間で変換します。
クライアント側の Web サポートのコアパッケージ。
org.springframework.http 内の HttpEntity 使用
org.springframework.http 内の HttpEntity サブクラス修飾子と型クラス説明classHTTP メソッドとターゲット URL も公開するHttpEntityの拡張。static classURISE の代わりに URI テンプレートと変数で初期化された RequestEntityclassHttpStatusCodeステータスコードを追加するHttpEntityの拡張。HttpEntity として宣言されている org.springframework.http のフィールドorg.springframework.http.client 内の HttpEntity 使用
型 HttpEntity の引数を持つ型を返す org.springframework.http.client のメソッドorg.springframework.http.converter 内の HttpEntity 使用
HttpEntity を返す org.springframework.http.converter のメソッド修飾子と型メソッド説明protected HttpEntity<?>FormHttpMessageConverter.getHttpEntity(ObjectSE part) 指定されたパーツオブジェクトのHttpEntityを返します。org.springframework.web.client 内の HttpEntity 使用
型 HttpEntity のパラメーターを持つ org.springframework.web.client のメソッド修飾子と型メソッド説明<T> ResponseEntity<T>RestOperations.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntityとして返します。<T> ResponseEntity<T>RestOperations.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntityとして返します。<T> ResponseEntity<T>RestOperations.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntityとして返します。<T> ResponseEntity<T>RestOperations.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntityとして返します。<T> ResponseEntity<T>RestOperations.exchange(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntityとして返します。<T> ResponseEntity<T>RestOperations.exchange(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntityとして返します。<T> ResponseEntity<T>RestTemplate.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, ObjectSE... uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, MapSE<StringSE, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, ObjectSE... uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, MapSE<StringSE, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType) <T> ResponseEntity<T>RestTemplate.exchange(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType)