Java Doc for HttpFactory.java in  » Web-Server » Jigsaw » org » w3c » www » http » 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 » Web Server » Jigsaw » org.w3c.www.http 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.w3c.www.http.HttpFactory

HttpFactory
public class HttpFactory (Code)
Use this class to create pre-defined header values of various kind.




Method Summary
public static  HttpAcceptmakeAccept(MimeType type, double quality)
     Create an Accept header clause.
Parameters:
  type - The MIME type that you will accept.
Parameters:
  quality - The quality you are willing to set to that MIME type.
public static  HttpAcceptmakeAccept(MimeType type)
     Create an Accept header clause. This will be assigned the default 1.0 quality.
Parameters:
  type - The MIME type that you will accept.
public static  HttpAcceptCharsetmakeAcceptCharset(String charset, double quality)
     Build an Accept-Charset header clause.
Parameters:
  charset - The accepted charset.
Parameters:
  quality - The quality under which this charset is accepted.
public static  HttpAcceptCharsetmakeAcceptCharset(String charset)
     Build an Accept-Charset header clause. Uses the default 1.0 quality.
Parameters:
  charset - The accepted charset.
public static  HttpAcceptCharsetListmakeAcceptCharsetList(HttpAcceptCharset charsets)
     Build a list of accepted charset for the Accept-Charset header.
Parameters:
  charsets - A list of accepted charsets, encoded as an arrayor null to create an empty list.
public static  HttpAcceptEncodingmakeAcceptEncoding(String enc, double quality)
     Build an Accept-Encoding header clause.
Parameters:
  enc - The accepted encoding.
Parameters:
  quality - The quality at which this encoding is accepted.
public static  HttpAcceptEncodingmakeAcceptEncoding(String enc)
     Build an Accept-Encoding header clause. Uses the default 1.0 quality.
Parameters:
  enc - The accepted encoding.
public static  HttpAcceptEncodingListmakeAcceptEncodingList(HttpAcceptEncoding encs)
     Build a list of accept encoding clauses for the Accept-Encoding header.
public static  HttpAcceptLanguagemakeAcceptLanguage(String lang, double quality)
     Build an Accept-Language header clause.
Parameters:
  lang - The accepted language.
Parameters:
  quality - The quality at which this language is accepted.
public static  HttpAcceptLanguagemakeAcceptLanguage(String lang)
     Build an Accept-Language header clause. Uses the default 1.0 quality.
Parameters:
  lang - The accepted language.
public static  HttpAcceptLanguageListmakeAcceptLanguageList(HttpAcceptLanguage langs)
     Build a list of accept language clauses for the Accept-Language header.
public static  HttpAcceptListmakeAcceptList(HttpAccept accepts)
     Build a list of accept clause, ready for the Accept header.
Parameters:
  accepts - The various accept clauses, as build through calls tomakeAccept and gathered in an array, or null to create an empty list.
public static  HttpBagmakeBag(String name)
     Build a empty bag instance. Bags are used in PEP and PICS.
Parameters:
  name - The name of the bag to construct.
public static  HttpCacheControlmakeCacheControl()
     Build an empty cache control directive.
public static  HttpChallengemakeChallenge(String scheme)
     Build a challenge requesting authorization from a client.
Parameters:
  scheme - The scheme used by that challenge.
public static  HttpContentRangemakeContentRange(String unit, int firstpos, int lastpos, int length)
     Build the description of a HTTP content range.
Parameters:
  unit - The unit of that range.
Parameters:
  firstpos - The first position of that range (can be -1 to indicate a postfix range.
Parameters:
  lastpost - The last position of that range (can be -1 to indicate a prefix range).
Parameters:
  length - The full length of the entity from which that range wastaken.
public static  HttpCookiemakeCookie(String name, String value)
     Build a single cookie value.
Parameters:
  name - The name of that cookie.
Parameters:
  value - The value of that cookie.
public static  HttpCookieListmakeCookieList(HttpCookie cookies)
     Build a list of cookies out of a set of cookies.
Parameters:
  cookies - The cookies to be added to the list, may benull to create an empty list.
public static  HttpCredentialmakeCredential(String scheme)
     Build credential informations.
Parameters:
  scheme - The scheme for that credentials.
public static  HttpDatemakeDate(long date)
     Build an HTTP date object.
Parameters:
  date - The date, given in milliseconds since Java epoch.
public static  HttpDatemakeDate()
     Build an HTTP date object representing the current time.
public static  HttpEntityTagmakeETag(boolean isWeak, String tag)
     Build an entity tag object.
Parameters:
  isWeak - Is this a weak entity tag.
Parameters:
  tag - The tag encoded as a String.
public static  HttpEntityTagListmakeETagList(HttpEntityTag tags)
     Build an entity tag list.
Parameters:
  tags - A list of enetity tags, encoded as an array, or null to create an empty list.
public static  HttpIntegermakeInteger(int i)
     Build a wrapper for an HTTP integer.
Parameters:
  i - The integer to wrap for HTTP transportation.
public static  HttpMimeTypemakeMimeType(MimeType type)
     Build a wrapper for a MIME type suitable for HTTP transportation.
Parameters:
  type - The MIME type to wrap.
public static  HttpRangemakeRange(String unit, int firstpos, int lastpos)
     Build an object representing an HTTP range.
Parameters:
  unit - The units in which that byte range is measured.
Parameters:
  firstpos - The first position of requested byte range.
Parameters:
  lastpos - The last position of requested byte range.
public static  HttpRangeListmakeRangeList(HttpRange ranges)
     Build a list of ranges.
Parameters:
  ranges - A list of ranges, encoded as an array, or null to create an empty list.
public static  HttpSetCookiemakeSetCookie(String name, String value)
     Build a set cookie clause for the Set-Cookie header.
Parameters:
  name - The name of the cookie we are requesting to be set.
Parameters:
  value - It's value.
public static  HttpSetCookieListmakeSetCookieList(HttpSetCookie setcookies)
     Build a list of set cookies commands.
Parameters:
  setcookies - A list of set cookie commands, encoded as anarray, or null to build an empty list.
public static  HttpStringmakeString(String str)
     Build a wrapper for a String, for HTTP transportation.
Parameters:
  str - The String (or token) to wrap.
public static  HttpTokenListmakeStringList(String list)
     Build a list of strings.
Parameters:
  list - The list of strings, encoded as an array, or null to create an empty list.
public static  HttpTokenListmakeStringList(String item)
     Build a list of one string.
Parameters:
  item - The item to be added to the list.
public static  HttpWarningmakeWarning(int status, String agent, String text)
     Build an HTTP Warning object.
Parameters:
  status - The warning status code.
Parameters:
  agent - The agent generating that warning.
Parameters:
  text - The text for the warning.
public static  HttpWarningmakeWarning(int status)
     Build an HTTP Warning object.
Parameters:
  status - The warning status code.
public static  HttpWarningListmakeWarningList(HttpWarning warnings)
     Build a list of warnings for the Warning header.
Parameters:
  warnings - A list of warning encoded as an array, or null to get an empty list.
public static  HttpAcceptparseAccept(String strval)
     Build an accept object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptCharsetparseAcceptCharset(String strval)
     Build an accept charset object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptCharsetListparseAcceptCharsetList(String strval)
     Build an accept charset list object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptEncodingparseAcceptEncoding(String strval)
     Build an accept encoding object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptEncodingListparseAcceptEncodingList(String strval)
     Build an accept encoding list object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptLanguageparseAcceptLanguage(String strval)
     Build an accept language object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptLanguageListparseAcceptLanguageList(String strval)
     Build an accept language list object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpAcceptListparseAcceptList(String strval)
     Build an accept list object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpBagparseBag(String strval)
     Build a bag object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpCacheControlparseCacheControl(String strval)
     Build a cache control object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpChallengeparseChallenge(String strval)
     Build a challenge object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpContentRangeparseContentRange(String strval)
     Build a content range object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpCookieListparseCookieList(String strval)
     Build a cookie list object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpCredentialparseCredential(String strval)
     Build a credential object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpDateparseDate(String strval)
     Build a date object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpEntityTagparseETag(String strval)
     Build an entity tag object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpEntityTagListparseEntityTagList(String strval)
     Build an entity tag list object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpIntegerparseInteger(String strval)
     Build an integer object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpMimeTypeparseMimeType(String strval)
     Build an MIME type object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpRangeparseRange(String strval)
     Build a range object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpRangeListparseRangeList(String strval)
     Build a list of ranges object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpSetCookieListparseSetCookieList(String strval)
     Build a list of set cookies object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpStringparseString(String strval)
     Build a String object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpTokenListparseTokenList(String strval)
     Build a list of string object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpWarningparseWarning(String strval)
     Build a warning object by parsing the given string.
Parameters:
  strval - The String to parse.
public static  HttpWarningListparseWarningList(String strval)
     Build a list of warnings object by parsing the given string.
Parameters:
  strval - The String to parse.



Method Detail
makeAccept
public static HttpAccept makeAccept(MimeType type, double quality)(Code)
Create an Accept header clause.
Parameters:
  type - The MIME type that you will accept.
Parameters:
  quality - The quality you are willing to set to that MIME type. An instance of HttpAccept.
See Also:   HttpAccept



makeAccept
public static HttpAccept makeAccept(MimeType type)(Code)
Create an Accept header clause. This will be assigned the default 1.0 quality.
Parameters:
  type - The MIME type that you will accept. An instance of HttpAccept.
See Also:   HttpAccept



makeAcceptCharset
public static HttpAcceptCharset makeAcceptCharset(String charset, double quality)(Code)
Build an Accept-Charset header clause.
Parameters:
  charset - The accepted charset.
Parameters:
  quality - The quality under which this charset is accepted. An instance of HttpAcceptCharset.
See Also:   HttpAcceptCharset



makeAcceptCharset
public static HttpAcceptCharset makeAcceptCharset(String charset)(Code)
Build an Accept-Charset header clause. Uses the default 1.0 quality.
Parameters:
  charset - The accepted charset. An instance of HttpAcceptCharset.
See Also:   HttpAcceptCharset



makeAcceptCharsetList
public static HttpAcceptCharsetList makeAcceptCharsetList(HttpAcceptCharset charsets)(Code)
Build a list of accepted charset for the Accept-Charset header.
Parameters:
  charsets - A list of accepted charsets, encoded as an arrayor null to create an empty list. An instance of HttpAcceptCharsetList.
See Also:   HttpAcceptCharsetList



makeAcceptEncoding
public static HttpAcceptEncoding makeAcceptEncoding(String enc, double quality)(Code)
Build an Accept-Encoding header clause.
Parameters:
  enc - The accepted encoding.
Parameters:
  quality - The quality at which this encoding is accepted. An instance of HttpAcceptEncoding.
See Also:   HttpAcceptEncoding



makeAcceptEncoding
public static HttpAcceptEncoding makeAcceptEncoding(String enc)(Code)
Build an Accept-Encoding header clause. Uses the default 1.0 quality.
Parameters:
  enc - The accepted encoding. An instance of HttpAcceptEncoding.
See Also:   HttpAcceptEncoding



makeAcceptEncodingList
public static HttpAcceptEncodingList makeAcceptEncodingList(HttpAcceptEncoding encs)(Code)
Build a list of accept encoding clauses for the Accept-Encoding header.
Parameters:
  langs - A list of accepted encodings, encoded as an array, ornull to create an empty list.



makeAcceptLanguage
public static HttpAcceptLanguage makeAcceptLanguage(String lang, double quality)(Code)
Build an Accept-Language header clause.
Parameters:
  lang - The accepted language.
Parameters:
  quality - The quality at which this language is accepted. An instance of HttpAcceptLanguage.
See Also:   HttpAcceptLanguage



makeAcceptLanguage
public static HttpAcceptLanguage makeAcceptLanguage(String lang)(Code)
Build an Accept-Language header clause. Uses the default 1.0 quality.
Parameters:
  lang - The accepted language. An instance of HttpAcceptLanguage.
See Also:   HttpAcceptLanguage



makeAcceptLanguageList
public static HttpAcceptLanguageList makeAcceptLanguageList(HttpAcceptLanguage langs)(Code)
Build a list of accept language clauses for the Accept-Language header.
Parameters:
  langs - A list of accepted languages, encoded as an array, ornull to create an empty list.



makeAcceptList
public static HttpAcceptList makeAcceptList(HttpAccept accepts)(Code)
Build a list of accept clause, ready for the Accept header.
Parameters:
  accepts - The various accept clauses, as build through calls tomakeAccept and gathered in an array, or null to create an empty list. An instance of HttpAcceptList.
See Also:   HttpAcceptList



makeBag
public static HttpBag makeBag(String name)(Code)
Build a empty bag instance. Bags are used in PEP and PICS.
Parameters:
  name - The name of the bag to construct. An empty bag instance.
See Also:   HttpBag



makeCacheControl
public static HttpCacheControl makeCacheControl()(Code)
Build an empty cache control directive. An instance of HttpCacheControl, with default settings.
See Also:   HttpCacheControl



makeChallenge
public static HttpChallenge makeChallenge(String scheme)(Code)
Build a challenge requesting authorization from a client.
Parameters:
  scheme - The scheme used by that challenge. An HttpChallenge instance.
See Also:   HttpChallenge



makeContentRange
public static HttpContentRange makeContentRange(String unit, int firstpos, int lastpos, int length)(Code)
Build the description of a HTTP content range.
Parameters:
  unit - The unit of that range.
Parameters:
  firstpos - The first position of that range (can be -1 to indicate a postfix range.
Parameters:
  lastpost - The last position of that range (can be -1 to indicate a prefix range).
Parameters:
  length - The full length of the entity from which that range wastaken. An instance of HttpContentRange.
See Also:   HttpContentRange



makeCookie
public static HttpCookie makeCookie(String name, String value)(Code)
Build a single cookie value.
Parameters:
  name - The name of that cookie.
Parameters:
  value - The value of that cookie. An instance of HttpCookie.
See Also:   HttpCookie



makeCookieList
public static HttpCookieList makeCookieList(HttpCookie cookies)(Code)
Build a list of cookies out of a set of cookies.
Parameters:
  cookies - The cookies to be added to the list, may benull to create an empty list. An instance of HttpCookieList.
See Also:   HttpCookieList



makeCredential
public static HttpCredential makeCredential(String scheme)(Code)
Build credential informations.
Parameters:
  scheme - The scheme for that credentials. An instance of HttpCredential.
See Also:   HttpCredential



makeDate
public static HttpDate makeDate(long date)(Code)
Build an HTTP date object.
Parameters:
  date - The date, given in milliseconds since Java epoch. An instance of HttpDate.
See Also:   HttpDate



makeDate
public static HttpDate makeDate()(Code)
Build an HTTP date object representing the current time. An instance of HttpDate.
See Also:   HttpDate



makeETag
public static HttpEntityTag makeETag(boolean isWeak, String tag)(Code)
Build an entity tag object.
Parameters:
  isWeak - Is this a weak entity tag.
Parameters:
  tag - The tag encoded as a String. An instance of HttpEntityTag.
See Also:   HttpEntityTag



makeETagList
public static HttpEntityTagList makeETagList(HttpEntityTag tags)(Code)
Build an entity tag list.
Parameters:
  tags - A list of enetity tags, encoded as an array, or null to create an empty list. An instance of HttpEntityTagList.
See Also:   HttpEntityTagList



makeInteger
public static HttpInteger makeInteger(int i)(Code)
Build a wrapper for an HTTP integer.
Parameters:
  i - The integer to wrap for HTTP transportation. An instance of HttpInteger.
See Also:   HttpInteger



makeMimeType
public static HttpMimeType makeMimeType(MimeType type)(Code)
Build a wrapper for a MIME type suitable for HTTP transportation.
Parameters:
  type - The MIME type to wrap. An instance of HttpMimeType.
See Also:   HttpMimeType



makeRange
public static HttpRange makeRange(String unit, int firstpos, int lastpos)(Code)
Build an object representing an HTTP range.
Parameters:
  unit - The units in which that byte range is measured.
Parameters:
  firstpos - The first position of requested byte range.
Parameters:
  lastpos - The last position of requested byte range. An instance of HttpRange.
See Also:   HttpRange



makeRangeList
public static HttpRangeList makeRangeList(HttpRange ranges)(Code)
Build a list of ranges.
Parameters:
  ranges - A list of ranges, encoded as an array, or null to create an empty list. An instance of HttprangeList.
See Also:   HttpRangeList



makeSetCookie
public static HttpSetCookie makeSetCookie(String name, String value)(Code)
Build a set cookie clause for the Set-Cookie header.
Parameters:
  name - The name of the cookie we are requesting to be set.
Parameters:
  value - It's value. An instance of HttpSetCookie.
See Also:   HttpSetCookie



makeSetCookieList
public static HttpSetCookieList makeSetCookieList(HttpSetCookie setcookies)(Code)
Build a list of set cookies commands.
Parameters:
  setcookies - A list of set cookie commands, encoded as anarray, or null to build an empty list. An instance of HttpStCookieList.
See Also:   HttpSetCookieList



makeString
public static HttpString makeString(String str)(Code)
Build a wrapper for a String, for HTTP transportation.
Parameters:
  str - The String (or token) to wrap. An instance of HttpString.
See Also:   HttpString



makeStringList
public static HttpTokenList makeStringList(String list)(Code)
Build a list of strings.
Parameters:
  list - The list of strings, encoded as an array, or null to create an empty list. An instance of HttpTokenList.
See Also:   HttpTokenList



makeStringList
public static HttpTokenList makeStringList(String item)(Code)
Build a list of one string.
Parameters:
  item - The item to be added to the list. An instance of HttpTokenList.
See Also:   HttpTokenList



makeWarning
public static HttpWarning makeWarning(int status, String agent, String text)(Code)
Build an HTTP Warning object.
Parameters:
  status - The warning status code.
Parameters:
  agent - The agent generating that warning.
Parameters:
  text - The text for the warning. An instance of HttpWarning.
See Also:   HttpWarning



makeWarning
public static HttpWarning makeWarning(int status)(Code)
Build an HTTP Warning object.
Parameters:
  status - The warning status code. An instance of HttpWarning.
See Also:   HttpWarning



makeWarningList
public static HttpWarningList makeWarningList(HttpWarning warnings)(Code)
Build a list of warnings for the Warning header.
Parameters:
  warnings - A list of warning encoded as an array, or null to get an empty list. An instance of HttpWarningList.
See Also:   HttpWarningList



parseAccept
public static HttpAccept parseAccept(String strval)(Code)
Build an accept object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAccept instance.



parseAcceptCharset
public static HttpAcceptCharset parseAcceptCharset(String strval)(Code)
Build an accept charset object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptCharset instance.



parseAcceptCharsetList
public static HttpAcceptCharsetList parseAcceptCharsetList(String strval)(Code)
Build an accept charset list object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptCharsetList instance.



parseAcceptEncoding
public static HttpAcceptEncoding parseAcceptEncoding(String strval)(Code)
Build an accept encoding object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptLanguage instance.



parseAcceptEncodingList
public static HttpAcceptEncodingList parseAcceptEncodingList(String strval)(Code)
Build an accept encoding list object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptENcodingList instance.



parseAcceptLanguage
public static HttpAcceptLanguage parseAcceptLanguage(String strval)(Code)
Build an accept language object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptLanguage instance.



parseAcceptLanguageList
public static HttpAcceptLanguageList parseAcceptLanguageList(String strval)(Code)
Build an accept language list object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptLanguageList instance.



parseAcceptList
public static HttpAcceptList parseAcceptList(String strval)(Code)
Build an accept list object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpAcceptList instance.



parseBag
public static HttpBag parseBag(String strval)(Code)
Build a bag object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpBag instance.



parseCacheControl
public static HttpCacheControl parseCacheControl(String strval)(Code)
Build a cache control object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpCacheControl instance.



parseChallenge
public static HttpChallenge parseChallenge(String strval)(Code)
Build a challenge object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpChallenge instance.



parseContentRange
public static HttpContentRange parseContentRange(String strval)(Code)
Build a content range object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpContantRange instance.



parseCookieList
public static HttpCookieList parseCookieList(String strval)(Code)
Build a cookie list object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpCookieList instance.



parseCredential
public static HttpCredential parseCredential(String strval)(Code)
Build a credential object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpCredential instance.



parseDate
public static HttpDate parseDate(String strval)(Code)
Build a date object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpDate instance.



parseETag
public static HttpEntityTag parseETag(String strval)(Code)
Build an entity tag object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpEntityTag instance.



parseEntityTagList
public static HttpEntityTagList parseEntityTagList(String strval)(Code)
Build an entity tag list object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpEntityTagList instance.



parseInteger
public static HttpInteger parseInteger(String strval)(Code)
Build an integer object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpInteger instance.



parseMimeType
public static HttpMimeType parseMimeType(String strval)(Code)
Build an MIME type object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpMimeType instance.



parseRange
public static HttpRange parseRange(String strval)(Code)
Build a range object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpRange instance.



parseRangeList
public static HttpRangeList parseRangeList(String strval)(Code)
Build a list of ranges object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpRangeList instance.



parseSetCookieList
public static HttpSetCookieList parseSetCookieList(String strval)(Code)
Build a list of set cookies object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpSetCookieList instance.



parseString
public static HttpString parseString(String strval)(Code)
Build a String object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpString instance.



parseTokenList
public static HttpTokenList parseTokenList(String strval)(Code)
Build a list of string object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpTokenList instance.



parseWarning
public static HttpWarning parseWarning(String strval)(Code)
Build a warning object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpWarning instance.



parseWarningList
public static HttpWarningList parseWarningList(String strval)(Code)
Build a list of warnings object by parsing the given string.
Parameters:
  strval - The String to parse. An HttpWarningList instance.



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.