code: public Long getOffset() {
      String offsetFromRequest =
          uriInfo.getQueryParameters().getFirst(OffsetParameter.getDefaultOffsetFieldName());
  
      return offsetFromRequest != null ? new OffsetParameter(offsetFromRequest).getValue()
          : OffsetParameter.getDefaultOffset();
    }
docs: Retrieves the value of the offset field from the request. Will use the configured field name
  to find the parameter
  
  @return The value of the offset.