HttpMethod.lookAheadGet

Optimized lookup to find a method name and trailing space in a byte array.

@param buffer buffer containing ISO-8859-1 characters, it is not modified. @return A HttpMethod if a match or null if no easy match.

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

Meta