Class RFCParser

java.lang.Object
com.blackrook.small.parser.RFCParser

public class RFCParser extends Object
Parser for lines that are broken by RFC-standard style text lines (most HTTP headers).
Author:
Matthew Tropiano
  • Constructor Details

    • RFCParser

      public RFCParser(String data)
      Creates a new header content parser.
      Parameters:
      data - the line to parse.
  • Method Details

    • hasTokens

      public boolean hasTokens()
      Returns:
      true if this has tokens left.
    • nextToken

      public String nextToken()
      Returns:
      the next token.