Interface ClientTransform<S>

Type Parameters:
S - the type of custom state
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ClientTransform<S>
ClientTransform allows a client-managed agent to transform session state before returning it to the caller.
  • Method Summary

    Modifier and Type
    Method
    Description
    Transforms the given session state before it is returned to the caller.
  • Method Details

    • transformState

      SessionState<S> transformState(SessionState<S> state)
      Transforms the given session state before it is returned to the caller.
      Parameters:
      state - the current session state
      Returns:
      the transformed session state