Java Doc for HttpClientParams.java in  » Net » Apache-common-HttpClient » org » apache » commons » httpclient » params » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Apache common HttpClient » org.apache.commons.httpclient.params 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.httpclient.params.DefaultHttpParams
      org.apache.commons.httpclient.params.HttpMethodParams
         org.apache.commons.httpclient.params.HttpClientParams

HttpClientParams
public class HttpClientParams extends HttpMethodParams (Code)
This class represents a collection of HTTP protocol parameters applicable to org.apache.commons.httpclient.HttpClient instances of HttpClient . Protocol parameters may be linked together to form a hierarchy. If a particular parameter value has not been explicitly defined in the collection itself, its value will be drawn from the parent collection of parameters.
author:
   Oleg Kalnichevski
version:
   $Revision: 480424 $
since:
   3.0


Field Summary
final public static  StringALLOW_CIRCULAR_REDIRECTS
     Defines whether circular redirects (redirects to the same location) should be allowed.
final public static  StringCONNECTION_MANAGER_CLASS
     Defines the default org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager class.
final public static  StringCONNECTION_MANAGER_TIMEOUT
     Sets the timeout in milliseconds used when retrieving an org.apache.commons.httpclient.HttpConnection HTTP connection from the org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager .
final public static  StringMAX_REDIRECTS
     Defines the maximum number of redirects to be followed.
final public static  StringPREEMPTIVE_AUTHENTICATION
     Defines whether authentication should be attempted preemptively.
final public static  StringREJECT_RELATIVE_REDIRECT
     Defines whether relative redirects should be rejected.

Constructor Summary
public  HttpClientParams()
     Creates a new collection of parameters with the collection returned by HttpClientParams.getDefaultParams() as a parent.
public  HttpClientParams(HttpParams defaults)
     Creates a new collection of parameters with the given parent.

Method Summary
public  ClassgetConnectionManagerClass()
     Returns the default org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager class.
public  longgetConnectionManagerTimeout()
     Returns the timeout in milliseconds used when retrieving an org.apache.commons.httpclient.HttpConnection HTTP connection from the org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager .
public  booleanisAuthenticationPreemptive()
     Returns true if authentication should be attempted preemptively, false otherwise.
public  voidmakeLenient()
    
public  voidmakeStrict()
    
public  voidsetAuthenticationPreemptive(boolean value)
     Sets whether authentication should be attempted preemptively.
public  voidsetConnectionManagerClass(Class clazz)
     Sets org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager class to be used der default.
public  voidsetConnectionManagerTimeout(long timeout)
     Sets the timeout in milliseconds used when retrieving an org.apache.commons.httpclient.HttpConnection HTTP connection from the org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager .

Field Detail
ALLOW_CIRCULAR_REDIRECTS
final public static String ALLOW_CIRCULAR_REDIRECTS(Code)
Defines whether circular redirects (redirects to the same location) should be allowed. The HTTP spec is not sufficiently clear whether circular redirects are permitted, therefore optionally they can be enabled

This parameter expects a value of type Boolean .




CONNECTION_MANAGER_CLASS
final public static String CONNECTION_MANAGER_CLASS(Code)
Defines the default org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager class.

This parameter expects a value of type Class .




CONNECTION_MANAGER_TIMEOUT
final public static String CONNECTION_MANAGER_TIMEOUT(Code)
Sets the timeout in milliseconds used when retrieving an org.apache.commons.httpclient.HttpConnection HTTP connection from the org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager .

This parameter expects a value of type Long .




MAX_REDIRECTS
final public static String MAX_REDIRECTS(Code)
Defines the maximum number of redirects to be followed. The limit on number of redirects is intended to prevent infinite loops.

This parameter expects a value of type Integer .




PREEMPTIVE_AUTHENTICATION
final public static String PREEMPTIVE_AUTHENTICATION(Code)
Defines whether authentication should be attempted preemptively.

This parameter expects a value of type Boolean .




REJECT_RELATIVE_REDIRECT
final public static String REJECT_RELATIVE_REDIRECT(Code)
Defines whether relative redirects should be rejected.

This parameter expects a value of type Boolean .





Constructor Detail
HttpClientParams
public HttpClientParams()(Code)
Creates a new collection of parameters with the collection returned by HttpClientParams.getDefaultParams() as a parent. The collection will defer to its parent for a default value if a particular parameter is not explicitly set in the collection itself.
See Also:   HttpClientParams.getDefaultParams()



HttpClientParams
public HttpClientParams(HttpParams defaults)(Code)
Creates a new collection of parameters with the given parent. The collection will defer to its parent for a default value if a particular parameter is not explicitly set in the collection itself.
Parameters:
  defaults - the parent collection to defer to, if a parameteris not explictly set in the collection itself.
See Also:   HttpClientParams.getDefaultParams()




Method Detail
getConnectionManagerClass
public Class getConnectionManagerClass()(Code)
Returns the default org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager class. org.apache.commons.httpclient.HttpConnectionManager HTTP connection managerfactory class.



getConnectionManagerTimeout
public long getConnectionManagerTimeout()(Code)
Returns the timeout in milliseconds used when retrieving an org.apache.commons.httpclient.HttpConnection HTTP connection from the org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager . timeout in milliseconds.



isAuthenticationPreemptive
public boolean isAuthenticationPreemptive()(Code)
Returns true if authentication should be attempted preemptively, false otherwise. true if authentication should be attempted preemptively,false otherwise.



makeLenient
public void makeLenient()(Code)



makeStrict
public void makeStrict()(Code)



setAuthenticationPreemptive
public void setAuthenticationPreemptive(boolean value)(Code)
Sets whether authentication should be attempted preemptively.
Parameters:
  value - true if authentication should be attempted preemptively,false otherwise.



setConnectionManagerClass
public void setConnectionManagerClass(Class clazz)(Code)
Sets org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager class to be used der default.
Parameters:
  clazz - org.apache.commons.httpclient.HttpConnectionManager HTTP connection managerfactory class.



setConnectionManagerTimeout
public void setConnectionManagerTimeout(long timeout)(Code)
Sets the timeout in milliseconds used when retrieving an org.apache.commons.httpclient.HttpConnection HTTP connection from the org.apache.commons.httpclient.HttpConnectionManager HTTP connection manager .
Parameters:
  timeout - the timeout in milliseconds



Fields inherited from org.apache.commons.httpclient.params.HttpMethodParams
final public static String BUFFER_WARN_TRIGGER_LIMIT(Code)(Java Doc)
final public static String COOKIE_POLICY(Code)(Java Doc)
final public static String CREDENTIAL_CHARSET(Code)(Java Doc)
final public static String DATE_PATTERNS(Code)(Java Doc)
final public static String HEAD_BODY_CHECK_TIMEOUT(Code)(Java Doc)
final public static String HTTP_CONTENT_CHARSET(Code)(Java Doc)
final public static String HTTP_ELEMENT_CHARSET(Code)(Java Doc)
final public static String HTTP_URI_CHARSET(Code)(Java Doc)
final public static String MULTIPART_BOUNDARY(Code)(Java Doc)
final public static String PROTOCOL_VERSION(Code)(Java Doc)
final public static String REJECT_HEAD_BODY(Code)(Java Doc)
final public static String RETRY_HANDLER(Code)(Java Doc)
final public static String SINGLE_COOKIE_HEADER(Code)(Java Doc)
final public static String SO_TIMEOUT(Code)(Java Doc)
final public static String STATUS_LINE_GARBAGE_LIMIT(Code)(Java Doc)
final public static String STRICT_TRANSFER_ENCODING(Code)(Java Doc)
final public static String UNAMBIGUOUS_STATUS_LINE(Code)(Java Doc)
final public static String USER_AGENT(Code)(Java Doc)
final public static String USE_EXPECT_CONTINUE(Code)(Java Doc)
final public static String VIRTUAL_HOST(Code)(Java Doc)
final public static String WARN_EXTRA_INPUT(Code)(Java Doc)

Methods inherited from org.apache.commons.httpclient.params.HttpMethodParams
public String getContentCharset()(Code)(Java Doc)
public String getCookiePolicy()(Code)(Java Doc)
public String getCredentialCharset()(Code)(Java Doc)
public String getHttpElementCharset()(Code)(Java Doc)
public int getSoTimeout()(Code)(Java Doc)
public String getUriCharset()(Code)(Java Doc)
public HttpVersion getVersion()(Code)(Java Doc)
public String getVirtualHost()(Code)(Java Doc)
public void makeLenient()(Code)(Java Doc)
public void makeStrict()(Code)(Java Doc)
public void setContentCharset(String charset)(Code)(Java Doc)
public void setCookiePolicy(String policy)(Code)(Java Doc)
public void setCredentialCharset(String charset)(Code)(Java Doc)
public void setHttpElementCharset(String charset)(Code)(Java Doc)
public void setSoTimeout(int timeout)(Code)(Java Doc)
public void setUriCharset(String charset)(Code)(Java Doc)
public void setVersion(HttpVersion version)(Code)(Java Doc)
public void setVirtualHost(String hostname)(Code)(Java Doc)

Methods inherited from org.apache.commons.httpclient.params.DefaultHttpParams
public void clear()(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean getBooleanParameter(String name, boolean defaultValue)(Code)(Java Doc)
public static HttpParams getDefaultParams()(Code)(Java Doc)
public synchronized HttpParams getDefaults()(Code)(Java Doc)
public double getDoubleParameter(String name, double defaultValue)(Code)(Java Doc)
public int getIntParameter(String name, int defaultValue)(Code)(Java Doc)
public long getLongParameter(String name, long defaultValue)(Code)(Java Doc)
public synchronized Object getParameter(String name)(Code)(Java Doc)
public boolean isParameterFalse(String name)(Code)(Java Doc)
public boolean isParameterSet(String name)(Code)(Java Doc)
public boolean isParameterSetLocally(String name)(Code)(Java Doc)
public boolean isParameterTrue(String name)(Code)(Java Doc)
public void setBooleanParameter(String name, boolean value)(Code)(Java Doc)
public synchronized void setDefaults(HttpParams params)(Code)(Java Doc)
public void setDoubleParameter(String name, double value)(Code)(Java Doc)
public static void setHttpParamsFactory(HttpParamsFactory httpParamsFactory)(Code)(Java Doc)
public void setIntParameter(String name, int value)(Code)(Java Doc)
public void setLongParameter(String name, long value)(Code)(Java Doc)
public synchronized void setParameter(String name, Object value)(Code)(Java Doc)
public synchronized void setParameters(String[] names, Object value)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.