public class HTTPFactory
extends java.lang.Object
Constructor and Description |
---|
HTTPFactory() |
Modifier and Type | Method and Description |
---|---|
static HTTPMethod |
Get(HTTPSession session) |
static HTTPMethod |
Get(HTTPSession session,
java.lang.String legalurl) |
static HTTPMethod |
Get(java.lang.String legalurl) |
static HTTPMethod |
Head(HTTPSession session) |
static HTTPMethod |
Head(HTTPSession session,
java.lang.String legalurl) |
static HTTPMethod |
Head(java.lang.String legalurl) |
static HTTPSession |
newSession(org.apache.http.auth.AuthScope scope)
Deprecated.
|
static HTTPSession |
newSession(org.apache.http.HttpHost target) |
static HTTPSession |
newSession(java.lang.String url) |
static HTTPSession |
newSession(java.lang.String host,
int port) |
static HTTPMethod |
Options(HTTPSession session) |
static HTTPMethod |
Options(HTTPSession session,
java.lang.String legalurl) |
static HTTPMethod |
Options(java.lang.String legalurl) |
static HTTPMethod |
Post(HTTPSession session) |
static HTTPMethod |
Post(HTTPSession session,
java.lang.String legalurl) |
static HTTPMethod |
Post(java.lang.String legalurl) |
static HTTPMethod |
Put(HTTPSession session) |
static HTTPMethod |
Put(HTTPSession session,
java.lang.String legalurl) |
static HTTPMethod |
Put(java.lang.String legalurl) |
public static HTTPSession newSession(java.lang.String host, int port) throws HTTPException
HTTPException
public static HTTPSession newSession(java.lang.String url) throws HTTPException
HTTPException
public static HTTPSession newSession(org.apache.http.HttpHost target) throws HTTPException
HTTPException
@Deprecated public static HTTPSession newSession(org.apache.http.auth.AuthScope scope) throws HTTPException
HTTPException
public static HTTPMethod Get(HTTPSession session, java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Head(HTTPSession session, java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Put(HTTPSession session, java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Post(HTTPSession session, java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Options(HTTPSession session, java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Get(HTTPSession session) throws HTTPException
HTTPException
public static HTTPMethod Head(HTTPSession session) throws HTTPException
HTTPException
public static HTTPMethod Put(HTTPSession session) throws HTTPException
HTTPException
public static HTTPMethod Post(HTTPSession session) throws HTTPException
HTTPException
public static HTTPMethod Options(HTTPSession session) throws HTTPException
HTTPException
public static HTTPMethod Get(java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Head(java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Put(java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Post(java.lang.String legalurl) throws HTTPException
HTTPException
public static HTTPMethod Options(java.lang.String legalurl) throws HTTPException
HTTPException