org.springframework.http.client
Class InterceptingClientHttpRequest.RequestExecution

java.lang.Object
  extended by org.springframework.http.client.InterceptingClientHttpRequest.RequestExecution
All Implemented Interfaces:
ClientHttpRequestExecution
Enclosing class:
InterceptingClientHttpRequest

private class InterceptingClientHttpRequest.RequestExecution
extends java.lang.Object
implements ClientHttpRequestExecution


Field Summary
private  java.util.Iterator<ClientHttpRequestInterceptor> iterator
           
 
Constructor Summary
private InterceptingClientHttpRequest.RequestExecution()
           
 
Method Summary
 ClientHttpResponse execute(HttpRequest request, byte[] body)
          Execute the request with the given request attributes and body, and return the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterator

private final java.util.Iterator<ClientHttpRequestInterceptor> iterator
Constructor Detail

InterceptingClientHttpRequest.RequestExecution

private InterceptingClientHttpRequest.RequestExecution()
Method Detail

execute

public ClientHttpResponse execute(HttpRequest request,
                                  byte[] body)
                           throws java.io.IOException
Description copied from interface: ClientHttpRequestExecution
Execute the request with the given request attributes and body, and return the response.

Specified by:
execute in interface ClientHttpRequestExecution
Parameters:
request - the request, containing method, URI, and headers
body - the body of the request to execute
Returns:
the response
Throws:
java.io.IOException - in case of I/O errors