Class HttpPostBodyUtil

java.lang.Object
org.jboss.netty.handler.codec.http.multipart.HttpPostBodyUtil

final class HttpPostBodyUtil extends Object
Shared Static object between HttpMessageDecoder, HttpPostRequestDecoder and HttpPostRequestEncoder
  • Field Details

  • Constructor Details

    • HttpPostBodyUtil

      private HttpPostBodyUtil()
  • Method Details

    • findNonWhitespace

      static int findNonWhitespace(String sb, int offset)
      Find the first non whitespace
      Returns:
      the rank of the first non whitespace
    • findWhitespace

      static int findWhitespace(String sb, int offset)
      Find the first whitespace
      Returns:
      the rank of the first whitespace
    • findEndOfString

      static int findEndOfString(String sb)
      Find the end of String
      Returns:
      the rank of the end of string