Interface SessionOptionValueVisitor<T>

Type Parameters:
T - Return type of the visit operation.
All Known Implementing Classes:
NoOpSessionOptionValueVisitor

public interface SessionOptionValueVisitor<T>
A visitor interface to access SessionOptionValue's contained value.
  • Method Summary

    Modifier and Type
    Method
    Description
    visit(boolean value)
    A callback to handle SessionOptionValue containing a boolean.
    visit(double value)
    A callback to handle SessionOptionValue containing a double.
    visit(long value)
    A callback to handle SessionOptionValue containing a long.
    visit(String value)
    A callback to handle SessionOptionValue containing a String.
    visit(String[] value)
    A callback to handle SessionOptionValue containing an array of String.
    visit(Void value)
    A callback to handle SessionOptionValue containing no value.
  • Method Details

    • visit

      T visit(String value)
      A callback to handle SessionOptionValue containing a String.
    • visit

      T visit(boolean value)
      A callback to handle SessionOptionValue containing a boolean.
    • visit

      T visit(long value)
      A callback to handle SessionOptionValue containing a long.
    • visit

      T visit(double value)
      A callback to handle SessionOptionValue containing a double.
    • visit

      T visit(String[] value)
      A callback to handle SessionOptionValue containing an array of String.
    • visit

      T visit(Void value)
      A callback to handle SessionOptionValue containing no value.

      By convention, an attempt to set a valueless SessionOptionValue should attempt to unset or clear the named option value on the server.