B - The builder to return in order to be able to apply multiple build
operations.public interface SessionCorrelation<B extends SessionCorrelation<B>>
setSessionCorrelation(boolean) (or the like), then an existing
Session-Correlation-ID might be forwarded by setting it into the
Correlation singleton via Correlation.SESSION's
Correlation.setId(String). When being disabled, then no
Session-Correlation handling will be done, any existing
Correlation.SESSION's Correlation.getId() may stay untouched!| Modifier and Type | Method and Description |
|---|---|
default void |
disableSessionCorrelation()
Disables the automatic Session-Correlation mechanism.
|
default void |
enableSessionCorrelation()
Enables the automatic Session-Correlation mechanism.
|
boolean |
hasSessionCorrelation()
Determines whether Session-Correlation is being enabled or disabled.
|
void |
setSessionCorrelation(boolean hasSessionCorrelation)
Enables or disables the automatic Session-Correlation mechanism.
|
B |
withDisableSessionCorrelation()
Builder method for the
disableSessionCorrelation() operation. |
B |
withEnableSessionCorrelation()
Builder method for the
enableSessionCorrelation() operation. |
B |
withSessionCorrelation(boolean hasSessionCorrelation)
Builder method for the
setSessionCorrelation(boolean) operation. |
void setSessionCorrelation(boolean hasSessionCorrelation)
hasSessionCorrelation - When true then Session-Correlation is
enabled, else disabled.B withSessionCorrelation(boolean hasSessionCorrelation)
setSessionCorrelation(boolean) operation.hasSessionCorrelation - When true then Session-Correlation is
enabled, else disabled.default void enableSessionCorrelation()
B withEnableSessionCorrelation()
enableSessionCorrelation() operation.default void disableSessionCorrelation()
B withDisableSessionCorrelation()
disableSessionCorrelation() operation.boolean hasSessionCorrelation()
Copyright © 2017. All rights reserved.