Class DataExchangeWebClientProperties
java.lang.Object
com.broadleafcommerce.dataexchange.service.autoconfigure.DataExchangeWebClientProperties
@ConfigurationProperties("broadleaf.dataexchange.web-client")
public class DataExchangeWebClientProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintUsed by theWebClientto provide a max connection time.intUsed by theWebClientto provide a max memory size for the buffer.longUsed by theWebClientto provide a read timeout.longUsed by theWebClientto provide a write timeout.inthashCode()booleanSet to true to log WebClient requests and responses.voidsetConnectionTimeoutMillis(int connectionTimeoutMillis) Used by theWebClientto provide a max connection time.voidsetLogRequests(boolean logRequests) Set to true to log WebClient requests and responses.voidsetMaxInMemorySizeBytes(int maxInMemorySizeBytes) Used by theWebClientto provide a max memory size for the buffer.voidsetReadTimeoutMillis(long readTimeoutMillis) Used by theWebClientto provide a read timeout.voidsetWriteTimeoutMillis(long writeTimeoutMillis) Used by theWebClientto provide a write timeout.toString()
-
Constructor Details
-
DataExchangeWebClientProperties
public DataExchangeWebClientProperties()
-
-
Method Details
-
isLogRequests
public boolean isLogRequests()Set to true to log WebClient requests and responses. This only applies to the Webclient used by the data exchange service. Info is logged at the debug level, sologging.level.reactor.netty.http.client
should also be set to DEBUG. -
getMaxInMemorySizeBytes
public int getMaxInMemorySizeBytes()Used by theWebClientto provide a max memory size for the buffer. Default is 10485760 (10MB). -
getConnectionTimeoutMillis
public int getConnectionTimeoutMillis()Used by theWebClientto provide a max connection time. -
getReadTimeoutMillis
public long getReadTimeoutMillis()Used by theWebClientto provide a read timeout. -
getWriteTimeoutMillis
public long getWriteTimeoutMillis()Used by theWebClientto provide a write timeout. -
setLogRequests
public void setLogRequests(boolean logRequests) Set to true to log WebClient requests and responses. This only applies to the Webclient used by the data exchange service. Info is logged at the debug level, sologging.level.reactor.netty.http.client
should also be set to DEBUG. -
setMaxInMemorySizeBytes
public void setMaxInMemorySizeBytes(int maxInMemorySizeBytes) Used by theWebClientto provide a max memory size for the buffer. Default is 10485760 (10MB). -
setConnectionTimeoutMillis
public void setConnectionTimeoutMillis(int connectionTimeoutMillis) Used by theWebClientto provide a max connection time. -
setReadTimeoutMillis
public void setReadTimeoutMillis(long readTimeoutMillis) Used by theWebClientto provide a read timeout. -
setWriteTimeoutMillis
public void setWriteTimeoutMillis(long writeTimeoutMillis) Used by theWebClientto provide a write timeout. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-