Class RestHttpGemfireAdminTemplate.FollowRedirectsSimpleClientHttpRequestFactory
java.lang.Object
org.springframework.http.client.SimpleClientHttpRequestFactory
org.springframework.data.gemfire.config.admin.remote.RestHttpGemfireAdminTemplate.FollowRedirectsSimpleClientHttpRequestFactory
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestFactory
- Enclosing class:
- RestHttpGemfireAdminTemplate
public static class RestHttpGemfireAdminTemplate.FollowRedirectsSimpleClientHttpRequestFactory
extends org.springframework.http.client.SimpleClientHttpRequestFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
prepareConnection
(HttpURLConnection connection, String httpMethod) Methods inherited from class org.springframework.http.client.SimpleClientHttpRequestFactory
createRequest, openConnection, setBufferRequestBody, setChunkSize, setConnectTimeout, setOutputStreaming, setProxy, setReadTimeout
-
Constructor Details
-
FollowRedirectsSimpleClientHttpRequestFactory
public FollowRedirectsSimpleClientHttpRequestFactory(boolean followRedirects)
-
-
Method Details
-
isFollowRedirects
public boolean isFollowRedirects() -
prepareConnection
protected void prepareConnection(HttpURLConnection connection, String httpMethod) throws IOException - Overrides:
prepareConnection
in classorg.springframework.http.client.SimpleClientHttpRequestFactory
- Throws:
IOException
-