Java 类org.apache.http.impl.DefaultHttpRequestFactoryHC4 实例源码

项目:remote-files-sync    文件:DefaultHttpRequestParserFactory.java   
public DefaultHttpRequestParserFactory(final LineParser lineParser,
        final HttpRequestFactory requestFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.requestFactory = requestFactory != null ? requestFactory
            : DefaultHttpRequestFactoryHC4.INSTANCE;
}
项目:Visit    文件:DefaultHttpRequestParserFactory.java   
public DefaultHttpRequestParserFactory(final LineParser lineParser,
        final HttpRequestFactory requestFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.requestFactory = requestFactory != null ? requestFactory
            : DefaultHttpRequestFactoryHC4.INSTANCE;
}
项目:ZTLib    文件:DefaultHttpRequestParserFactory.java   
public DefaultHttpRequestParserFactory(final LineParser lineParser,
        final HttpRequestFactory requestFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.requestFactory = requestFactory != null ? requestFactory
            : DefaultHttpRequestFactoryHC4.INSTANCE;
}
项目:remote-files-sync    文件:DefaultHttpRequestParser.java   
/**
 * Creates new instance of DefaultHttpRequestParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used.
 * @param requestFactory the response factory. If <code>null</code>
 *   {@link DefaultHttpRequestFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpRequestParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpRequestFactory requestFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.requestFactory = requestFactory != null ? requestFactory :
        DefaultHttpRequestFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:Visit    文件:DefaultHttpRequestParser.java   
/**
 * Creates new instance of DefaultHttpRequestParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used.
 * @param requestFactory the response factory. If <code>null</code>
 *   {@link DefaultHttpRequestFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpRequestParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpRequestFactory requestFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.requestFactory = requestFactory != null ? requestFactory :
        DefaultHttpRequestFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:ZTLib    文件:DefaultHttpRequestParser.java   
/**
 * Creates new instance of DefaultHttpRequestParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used.
 * @param requestFactory the response factory. If <code>null</code>
 *   {@link DefaultHttpRequestFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpRequestParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpRequestFactory requestFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.requestFactory = requestFactory != null ? requestFactory :
        DefaultHttpRequestFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}