public interface

ClientHttpRequest

implements HttpOutputMessage HttpRequest
org.springframework.http.client.ClientHttpRequest
Known Indirect Subclasses

Class Overview

Represents a client-side HTTP request. Created via an implementation of the ClientHttpRequestFactory.

A HttpRequest can be executed, getting a ClientHttpResponse which can be read from.

Summary

Public Methods
abstract ClientHttpResponse execute()
Execute this request, resulting in a ClientHttpResponse that can be read.
[Expand]
Inherited Methods
From interface org.springframework.http.HttpMessage
From interface org.springframework.http.HttpOutputMessage
From interface org.springframework.http.HttpRequest

Public Methods

public abstract ClientHttpResponse execute ()

Execute this request, resulting in a ClientHttpResponse that can be read.

Returns
  • the response result of the execution
Throws
IOException in case of I/O errors