HttpMethod.lookAheadGet

Optimized lookup to find a method name and trailing space 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. HttpMethod lookAheadGet(byte[] bytes, int position, int limit)
    struct HttpMethod
    static
    lookAheadGet
    (
    byte[] bytes
    ,,
    int limit
    )
  2. HttpMethod lookAheadGet(ByteBuffer buffer)

Meta