Interface Marker


public interface Marker
Marker containing a range representing interesting data in requests and responses.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Marker
    marker(int startIndexInclusive, int endIndexExclusive)
    Create a marker object from two indices representing a range.
    static Marker
    marker(Range range)
    Create a marker object with a range.
     
  • Method Details

    • range

      Range range()
      Returns:
      The range of the marker.
    • marker

      static Marker marker(Range range)
      Create a marker object with a range.
      Parameters:
      range - The range of the marker.
      Returns:
      The marker with the range.
    • marker

      static Marker marker(int startIndexInclusive, int endIndexExclusive)
      Create a marker object from two indices representing a range.
      Parameters:
      startIndexInclusive - The start index of the range inclusive of this value.
      endIndexExclusive - The end index of the range exclusive of this value.
      Returns:
      The marker with the range.