Class DefaultHttpResponseParserFactory

  • All Implemented Interfaces:
    org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse>

    @Contract(threading=STATELESS)
    public class DefaultHttpResponseParserFactory
    extends java.lang.Object
    implements org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse>
    Default factory for response message parsers.
    Since:
    4.3
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.hc.core5.http.io.HttpMessageParser<org.apache.hc.core5.http.ClassicHttpResponse> create​(org.apache.hc.core5.http.config.Http1Config h1Config)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lineParser

        private final org.apache.hc.core5.http.message.LineParser lineParser
      • responseFactory

        private final org.apache.hc.core5.http.HttpResponseFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseFactory
    • Constructor Detail

      • DefaultHttpResponseParserFactory

        public DefaultHttpResponseParserFactory​(org.apache.hc.core5.http.message.LineParser lineParser,
                                                org.apache.hc.core5.http.HttpResponseFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseFactory)
      • DefaultHttpResponseParserFactory

        public DefaultHttpResponseParserFactory​(org.apache.hc.core5.http.HttpResponseFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseFactory)
      • DefaultHttpResponseParserFactory

        public DefaultHttpResponseParserFactory()
    • Method Detail

      • create

        public org.apache.hc.core5.http.io.HttpMessageParser<org.apache.hc.core5.http.ClassicHttpResponse> create​(org.apache.hc.core5.http.config.Http1Config h1Config)
        Specified by:
        create in interface org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse>