Groovy Documentation

Package org.jdesktop.http

Contains API for working with http. The classes in this package require the Apache HttpClient library (and associated dependencies). The HttpComponents project (also from Apache) aims to be a replacement for HttpClient, at which time (when it is finished) we may well switch. This means:

It is these higher level constructs which are in this package. This package also introduces helpers for working with DOM, XPath, and HTML and includes some dependencies on JTidy for, well, tidying up broken HTML.

 

Interface Summary
SecurityHandler Pluggable SecurityHandler.
 


Class Summary
Cookie Doesn't yet support Cookie2.
CookieManager A JVM-wide manager of HTTP Cookies.
CookieManager.Wrapper
DefaultSecurityHandler @author rbair
Header Represents a header field in an http Request or Response.
Header.Element A representation of an Element within a Header.
HighSecurityX509TrustManager
LowSecurityX509TrustManager
MediumSecurityX509TrustManager
NameValuePair Represents a name/value pair.
Parameter A NameValuePair used as a Parameter to http Requests.
Request
Response
SSLProtocolSocketFactory
Session
 


Enum Summary
Method @author rbair
Session.SecurityLevel Specifies a value to use for security, either Low, Medium, or High.
State Enumeration indicating the state that a Session is in.
StatusCode Based on: The HttpClient project's HttpStatus class.
 


Groovy Documentation