org.apache.tapestry5

## Class PersistenceConstants

- java.lang.Object
- - org.apache.tapestry5.PersistenceConstants

-     public class PersistenceConstants
      extends Object

  Constants for persistent field strategies.
  See Also:
    `Persist.value()`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CLIENT` The field's value is stored on the client, as a query parameter or hidden form field.
    `static String` | `FLASH` The field's value is stored in the session, but only until the next request.
    `static String` | `SESSION` The field's value is stored in the `Session`.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PersistenceConstants()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### SESSION

          public static final String SESSION

      The field's value is stored in the `Session`.
      See Also:
        Constant Field Values

    - #### CLIENT

          public static final String CLIENT

      The field's value is stored on the client, as a query parameter or hidden form field.
      See Also:
        Constant Field Values

    - #### FLASH

          public static final String FLASH

      The field's value is stored in the session, but only until the next request. This is often used for confirmation messages presented to the user.
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### PersistenceConstants

          public PersistenceConstants()

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.