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

## Class DefaultHttpResponseParserFactory

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

- All Implemented Interfaces:
    HttpMessageParserFactory<ClassicHttpResponse>

      @Contract(threading=IMMUTABLE_CONDITIONAL)
      public class DefaultHttpResponseParserFactory
      extends Object
      implements HttpMessageParserFactory<ClassicHttpResponse>

  Default factory for response message parsers.
  Since:
    4.3

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultHttpResponseParserFactory()`
    `DefaultHttpResponseParserFactory(LineParser lineParser, HttpResponseFactory<ClassicHttpResponse> responseFactory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpMessageParser<ClassicHttpResponse>` | `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 DefaultHttpResponseParserFactory INSTANCE

  - ### Constructor Detail

    - #### DefaultHttpResponseParserFactory

          public DefaultHttpResponseParserFactory(LineParser lineParser,
                                          HttpResponseFactory<ClassicHttpResponse> responseFactory)

    - #### DefaultHttpResponseParserFactory

          public DefaultHttpResponseParserFactory()

  - ### Method Detail

    - #### create

          public HttpMessageParser<ClassicHttpResponse> create(Http1Config http1Config)

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

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