org.apache.hc.core5.http.impl.io

## Class DefaultHttpRequestParserFactory

- java.lang.Object
- - org.apache.hc.core5.http.impl.io.DefaultHttpRequestParserFactory

- All Implemented Interfaces:
    HttpMessageParserFactory<ClassicHttpRequest>

      @Contract(threading=IMMUTABLE_CONDITIONAL)
      public class DefaultHttpRequestParserFactory
      extends Object
      implements HttpMessageParserFactory<ClassicHttpRequest>

  Default factory for request message parsers.
  Since:
    4.3

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static DefaultHttpRequestParserFactory` | `INSTANCE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultHttpRequestParserFactory()`
    `DefaultHttpRequestParserFactory(LineParser lineParser, HttpRequestFactory<ClassicHttpRequest> requestFactory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpMessageParser<ClassicHttpRequest>` | `create(Http1Config http1Config)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final DefaultHttpRequestParserFactory INSTANCE

  - ### Constructor Detail

    - #### DefaultHttpRequestParserFactory

          public DefaultHttpRequestParserFactory(LineParser lineParser,
                                         HttpRequestFactory<ClassicHttpRequest> requestFactory)

    - #### DefaultHttpRequestParserFactory

          public DefaultHttpRequestParserFactory()

  - ### Method Detail

    - #### create

          public HttpMessageParser<ClassicHttpRequest> create(Http1Config http1Config)

      Specified by:
        `create` in interface `HttpMessageParserFactory<ClassicHttpRequest>`

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.