public class HttpEndpointConfiguration extends AbstractPollableEndpointConfiguration
| Constructor and Description |
|---|
HttpEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
List<org.springframework.http.MediaType> |
getBinaryMediaTypes()
Gets the binaryMediaTypes.
|
String |
getCharset()
Gets the charset.
|
List<org.springframework.http.client.ClientHttpRequestInterceptor> |
getClientInterceptors()
Gets the list of endpoint clientInterceptors.
|
String |
getContentType()
Gets the contentType.
|
MessageCorrelator |
getCorrelator()
Gets the correlator.
|
int |
getDefaultStatusCode()
Gets the defaultStatusCode.
|
EndpointUriResolver |
getEndpointUriResolver()
Gets the endpointUriResolver.
|
org.springframework.web.client.ResponseErrorHandler |
getErrorHandler()
Gets the errorHandler.
|
ErrorHandlingStrategy |
getErrorHandlingStrategy()
Gets the errorHandlingStrategy.
|
org.springframework.integration.mapping.HeaderMapper<org.springframework.http.HttpHeaders> |
getHeaderMapper()
Gets the headerMapper.
|
HttpMessageConverter |
getMessageConverter()
Gets the message converter.
|
org.springframework.http.client.ClientHttpRequestFactory |
getRequestFactory()
Gets the client request factory.
|
org.springframework.http.HttpMethod |
getRequestMethod()
Gets the requestMethod.
|
String |
getRequestUrl()
Get the complete request URL.
|
org.springframework.web.client.RestTemplate |
getRestTemplate()
Gets the restTemplate.
|
boolean |
isDefaultAcceptHeader()
Gets the value of the defaultAcceptHeader property.
|
boolean |
isHandleAttributeHeaders()
Gets the handleAttributeHeaders.
|
boolean |
isHandleCookies()
Gets the handleCookies.
|
void |
setBinaryMediaTypes(List<org.springframework.http.MediaType> binaryMediaTypes)
Sets the binaryMediaTypes.
|
void |
setCharset(String charset)
Sets the charset.
|
void |
setClientInterceptors(List<org.springframework.http.client.ClientHttpRequestInterceptor> clientInterceptors)
Sets the clientInterceptors on this implementation's rest template.
|
void |
setContentType(String contentType)
Sets the contentType.
|
void |
setCorrelator(MessageCorrelator correlator)
Set the reply message correlator.
|
void |
setDefaultAcceptHeader(boolean defaultAcceptHeader)
Sets the defaultAcceptHeader property.
|
void |
setDefaultStatusCode(int defaultStatusCode)
Sets the defaultStatusCode.
|
void |
setEndpointUriResolver(EndpointUriResolver endpointUriResolver)
Sets the endpoint uri resolver.
|
void |
setErrorHandler(org.springframework.web.client.ResponseErrorHandler errorHandler)
Sets the errorHandler.
|
void |
setErrorHandlingStrategy(ErrorHandlingStrategy errorHandlingStrategy)
Sets the errorHandlingStrategy.
|
void |
setHandleAttributeHeaders(boolean handleAttributeHeaders)
Sets the handleAttributeHeaders.
|
void |
setHandleCookies(boolean handleCookies)
Sets the handleCookies.
|
void |
setHeaderMapper(org.springframework.integration.mapping.HeaderMapper<org.springframework.http.HttpHeaders> headerMapper)
Sets the headerMapper.
|
void |
setMessageConverter(HttpMessageConverter messageConverter)
Sets the message converter.
|
void |
setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
Sets the client request factory.
|
void |
setRequestMethod(org.springframework.http.HttpMethod requestMethod)
Sets the requestMethod.
|
void |
setRequestUrl(String url)
Set the complete request URL.
|
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
Sets the restTemplate.
|
getPollingInterval, setPollingIntervalgetTimeout, setTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTimeout, setTimeoutpublic String getRequestUrl()
public void setRequestUrl(String url)
url - the url to setpublic void setEndpointUriResolver(EndpointUriResolver endpointUriResolver)
endpointUriResolver - the endpointUriResolver to setpublic void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
restTemplate - the restTemplate to setpublic void setRequestMethod(org.springframework.http.HttpMethod requestMethod)
requestMethod - the requestMethod to setpublic void setCharset(String charset)
charset - the charset to setpublic void setHeaderMapper(org.springframework.integration.mapping.HeaderMapper<org.springframework.http.HttpHeaders> headerMapper)
headerMapper - the headerMapper to setpublic void setContentType(String contentType)
contentType - the contentType to setpublic ErrorHandlingStrategy getErrorHandlingStrategy()
public void setErrorHandlingStrategy(ErrorHandlingStrategy errorHandlingStrategy)
errorHandlingStrategy - the errorHandlingStrategy to setpublic org.springframework.http.HttpMethod getRequestMethod()
public String getCharset()
public String getContentType()
public org.springframework.web.client.RestTemplate getRestTemplate()
public EndpointUriResolver getEndpointUriResolver()
public org.springframework.integration.mapping.HeaderMapper<org.springframework.http.HttpHeaders> getHeaderMapper()
public List<org.springframework.http.client.ClientHttpRequestInterceptor> getClientInterceptors()
public void setClientInterceptors(List<org.springframework.http.client.ClientHttpRequestInterceptor> clientInterceptors)
clientInterceptors - the clientInterceptors to setpublic void setCorrelator(MessageCorrelator correlator)
correlator - the correlator to setpublic MessageCorrelator getCorrelator()
public org.springframework.http.client.ClientHttpRequestFactory getRequestFactory()
public void setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
requestFactory - public HttpMessageConverter getMessageConverter()
public void setMessageConverter(HttpMessageConverter messageConverter)
messageConverter - public void setDefaultAcceptHeader(boolean defaultAcceptHeader)
defaultAcceptHeader - public boolean isDefaultAcceptHeader()
public boolean isHandleAttributeHeaders()
public void setHandleAttributeHeaders(boolean handleAttributeHeaders)
handleAttributeHeaders - public boolean isHandleCookies()
public void setHandleCookies(boolean handleCookies)
handleCookies - public org.springframework.web.client.ResponseErrorHandler getErrorHandler()
public void setErrorHandler(org.springframework.web.client.ResponseErrorHandler errorHandler)
errorHandler - public int getDefaultStatusCode()
public void setDefaultStatusCode(int defaultStatusCode)
defaultStatusCode - public List<org.springframework.http.MediaType> getBinaryMediaTypes()
public void setBinaryMediaTypes(List<org.springframework.http.MediaType> binaryMediaTypes)
binaryMediaTypes - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.