HttpVersion.lookAheadGet

Optimized lookup to find a HTTP Version and whitespace in a byte array.

@param bytes Array containing ISO-8859-1 characters @param position The first valid index @param limit The first non valid index @return A HttpMethod if a match or null if no easy match.

  1. HttpVersion lookAheadGet(byte[] bytes, int position, int limit)
    struct HttpVersion
    static
    lookAheadGet
    (
    byte[] bytes
    ,,
    int limit
    )
  2. HttpVersion lookAheadGet(ByteBuffer buffer)

Meta