public static Range valueOf ( final String value ) { final Optional < Integer [ ] > vals = parse ( value ) ; if ( vals . isPresent ( ) ) { return new Range ( vals . get ( ) [ 0 ] , vals . get ( ) [ 1 ] ) ; } return null ; }
Get a Range object from a header value