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