View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2008 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 REQUEST_COMPRESSION = HttpSettings.class.getSimpleName() + "@" + "request-compression";
26  	public final static String RESPONSE_COMPRESSION = HttpSettings.class.getSimpleName() + "@" + "response-compression";
27  	public final static String CLOSE_CONNECTIONS = HttpSettings.class.getSimpleName() + "@" + "close-connections";
28  	public final static String USER_AGENT = HttpSettings.class.getSimpleName() + "@" + "user-agent";
29  	public final static String AUTHENTICATE_PREEMPTIVELY = HttpSettings.class.getSimpleName() + "@" + "authenticate-preemptively";
30  	public final static String SOCKET_TIMEOUT = HttpSettings.class.getSimpleName() + "@" + "socket_timeout";
31  	public final static String INCLUDE_REQUEST_IN_TIME_TAKEN = HttpSettings.class.getSimpleName() + "@" + "include_request_in_time_taken";
32  	public final static String INCLUDE_RESPONSE_IN_TIME_TAKEN = HttpSettings.class.getSimpleName() + "@" + "include_response_in_time_taken";
33  	public final static String MAX_RESPONSE_SIZE = HttpSettings.class.getSimpleName() + "@" + "max_response_size";
34  	public static final String ENCODED_URLS = HttpSettings.class.getSimpleName() + "@" + "encoded_urls";
35  	public static final String BIND_ADDRESS = HttpSettings.class.getSimpleName() + "@" + "bind_address";
36  	public static final String DISABLE_CHUNKING = HttpSettings.class.getSimpleName() + "@" + "disable_chunking";
37  	public static final String HTTP_VERSION = HttpSettings.class.getSimpleName() + "@" + "http_version";
38  	
39  	public static final String MAX_CONNECTIONS_PER_HOST = HttpSettings.class.getSimpleName() + "@" + "max_connections_per_host";
40  	public static final String MAX_TOTAL_CONNECTIONS = HttpSettings.class.getSimpleName() + "@" + "max_total_connections";
41  
42  	public static final String LEAVE_MOCKENGINE =  HttpSettings.class.getSimpleName() + "@" + "leave_mockengine";
43  
44  	public static final String HTTP_VERSION_0_9 = "0.9";
45  	public static final String HTTP_VERSION_1_0 = "1.0";
46  	public static final String HTTP_VERSION_1_1 = "1.1";
47  }