Class BasicLineParser

java.lang.Object
org.apache.hc.core5.http.message.BasicLineParser
All Implemented Interfaces:
LineParser
Direct Known Subclasses:
LazyLaxLineParser, LazyLineParser

@Contract(threading=IMMUTABLE) public class BasicLineParser extends Object implements LineParser
Default LineParser implementation.
Since:
4.0
  • Field Details

  • Constructor Details

    • BasicLineParser

      public BasicLineParser(ProtocolVersion proto)
      Creates a new line parser for the given HTTP-like protocol.
      Parameters:
      proto - a version of the protocol to parse, or null for HTTP. The actual version is not relevant, only the protocol name.
    • BasicLineParser

      public BasicLineParser()
      Creates a new line parser for HTTP.
  • Method Details