public class GXHTTPCommonRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GXHTTPRequestBuilder |
builder |
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
GXHTTPCommonRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear up the request.
|
HttpURLConnection |
connect() |
HttpURLConnection |
delete() |
HttpURLConnection |
get() |
HttpURLConnection |
head() |
void |
isExternalCall(boolean ext) |
HttpURLConnection |
options() |
HttpURLConnection |
patch() |
HttpURLConnection |
post() |
HttpURLConnection |
put() |
void |
setSecurityToken(String token) |
HttpURLConnection |
trace() |
protected static final org.slf4j.Logger logger
protected GXHTTPRequestBuilder builder
public HttpURLConnection put() throws Exception
Exceptionpublic HttpURLConnection delete() throws Exception
Exceptionpublic HttpURLConnection head() throws Exception
Exceptionpublic HttpURLConnection get() throws Exception
Exceptionpublic HttpURLConnection post() throws Exception
Exceptionpublic HttpURLConnection trace() throws Exception
Exceptionpublic HttpURLConnection patch() throws Exception
Exceptionpublic HttpURLConnection options() throws Exception
Exceptionpublic HttpURLConnection connect() throws Exception
Exceptionpublic void setSecurityToken(String token)
public void isExternalCall(boolean ext)
public void clear()
Copyright © 2019. All Rights Reserved.