Interface PlaceHistoryMapper

All Known Subinterfaces:
PlaceHistoryMapperWithFactory<F>

public interface PlaceHistoryMapper
Maps Places to/from tokens, used to configure a PlaceHistoryHandler.

You can annotate subinterfaces of PlaceHistoryMapper with WithTokenizers to have their implementation automatically generated via a call to GWT.create(Class).

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Place associated with the given token.
    getToken(Place place)
    Returns the String token associated with the given Place.
  • Method Details

    • getPlace

      Place getPlace(String token)
      Returns the Place associated with the given token.
      Parameters:
      token - a String token
      Returns:
      a Place instance
    • getToken

      String getToken(Place place)
      Returns the String token associated with the given Place.
      Parameters:
      place - a Place instance
      Returns:
      a String token