Package com.aquima.web.config.properties
Class GlobalConnectionProperties
java.lang.Object
com.aquima.web.config.properties.GlobalConnectionProperties
@Component
@RefreshScope
@ConfigurationProperties(prefix="blueriq.connection")
public class GlobalConnectionProperties
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final org.slf4j.Logger
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides a map containing HTTP header names and values that should be sent in outgoing REST and SOAP requestsProvides a list of HTTP header names that should be sent in outgoing REST and SOAP requestsint
Outgoing HTTP requests should time out according to this default if no other time out was specified.void
void
setSessionHeaders
(List<String> sessionHeaders) void
setTimeout
(int timeout)
-
Field Details
-
Constructor Details
-
Method Details
-
getSessionHeaders
Provides a list of HTTP header names that should be sent in outgoing REST and SOAP requests- Returns:
- list of HTTP header names
-
setSessionHeaders
-
getHeader
Provides a map containing HTTP header names and values that should be sent in outgoing REST and SOAP requests- Returns:
- map containing HTTP header names and values
-
setHeader
-
getTimeout
public int getTimeout()Outgoing HTTP requests should time out according to this default if no other time out was specified. Value represents milliseconds. Default is 15000 milliseconds.- Returns:
- the default timeout outgoing HTTP request should use
-
setTimeout
public void setTimeout(int timeout)
-