View Javadoc

    1   /*
    2    *  soapUI, copyright (C) 2004-2007 eviware.com
    3    *
    4    *  soapUI is free software; you can redistribute it and/or modify it under the
    5    *  terms of version 2.1 of the GNU Lesser General Public License as published by
    6    *  the Free Software Foundation.
    7    *
    8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
    9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    10   *  See the GNU Lesser General Public License for more details at gnu.org.
    11   */
    12
    13  package com.eviware.soapui.settings;
    14
    15  /***
    16   * HTTP-related settings constants
    17   *
    18   * @author Ole.Matzura
    19   */
    20
    21  public interface HttpSettings
    22  {
    23  	public final static long DEFAULT_SOCKET_TIMEOUT = 60000L;
    24
    25  	public final static String CLOSE_CONNECTIONS = HttpSettings.class.getSimpleName() + "@" + "close-connections";
    26  	public final static String USER_AGENT = HttpSettings.class.getSimpleName() + "@" + "user-agent";
    27  	public final static String AUTHENTICATE_PREEMPTIVELY = HttpSettings.class.getSimpleName() + "@" + "authenticate-preemptively";
    28  	public final static String SOCKET_TIMEOUT = HttpSettings.class.getSimpleName() + "@" + "socket_timeout";
    29  	public final static String INCLUDE_REQUEST_IN_TIME_TAKEN = HttpSettings.class.getSimpleName() + "@" + "include_request_in_time_taken";
    30  	public final static String INCLUDE_RESPONSE_IN_TIME_TAKEN = HttpSettings.class.getSimpleName() + "@" + "include_response_in_time_taken";
    31  	public final static String MAX_RESPONSE_SIZE = HttpSettings.class.getSimpleName() + "@" + "max_response_size";
    32  	public static final String ENCODED_URLS = HttpSettings.class.getSimpleName() + "@" + "encoded_urls";
    33  	public static final String BIND_ADDRESS = HttpSettings.class.getSimpleName() + "@" + "bind_address";
    34
    35  	public static final String MAX_CONNECTIONS_PER_HOST = HttpSettings.class.getSimpleName() + "@" + "max_connections_per_host";
    36  	public static final String MAX_TOTAL_CONNECTIONS = HttpSettings.class.getSimpleName() + "@" + "max_total_connections";
    37  }