Class RedisOriginalExchangeStore
java.lang.Object
com.predic8.membrane.core.interceptor.oauth2client.OriginalExchangeStore
com.predic8.membrane.core.interceptor.oauth2client.RedisOriginalExchangeStore
- Description
- Used for storing exchanges temporarily in Redis. Supports authentication with or without password and username
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidpostProcess(Exchange exchange) reconstruct(Exchange exchange, Session session, String state) voidvoidsetConnector(RedisConnector connector) voidsetMaxBodySize(int maxBodySize) voidMethods inherited from class com.predic8.membrane.core.interceptor.oauth2client.OriginalExchangeStore
getTrimmedAbstractExchangeSnapshot
-
Constructor Details
-
RedisOriginalExchangeStore
public RedisOriginalExchangeStore()
-
-
Method Details
-
store
public void store(Exchange exchange, Session session, String state, Exchange exchangeToStore) throws IOException - Specified by:
storein classOriginalExchangeStore- Throws:
IOException
-
reconstruct
- Specified by:
reconstructin classOriginalExchangeStore
-
remove
- Specified by:
removein classOriginalExchangeStore
-
postProcess
- Specified by:
postProcessin classOriginalExchangeStore
-
getMaxBodySize
public int getMaxBodySize() -
setMaxBodySize
public void setMaxBodySize(int maxBodySize) - Description
- Limit for max body size. Exchanges will be truncated to max body size if they are bigger. Used unit is bytes. Default value is 100000.
-
getConnector
-
setConnector
-