Class ScxHttpClientHelper
java.lang.Object
cool.scx.http.x.ScxHttpClientHelper
ScxHttpClientHelper
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic cool.scx.http.ScxHttpClientResponsedelete(cool.scx.http.uri.ScxURI uri, cool.scx.http.media.multi_part.MultiPart content) static cool.scx.http.ScxHttpClientResponsestatic cool.scx.http.ScxHttpClientResponseget(cool.scx.http.uri.ScxURI uri) static cool.scx.http.ScxHttpClientResponsestatic cool.scx.http.ScxHttpClientResponsepost(cool.scx.http.uri.ScxURI uri, cool.scx.http.media.multi_part.MultiPart content) static cool.scx.http.ScxHttpClientResponsestatic cool.scx.http.ScxHttpClientResponseput(cool.scx.http.uri.ScxURI uri, cool.scx.http.media.multi_part.MultiPart content) static cool.scx.http.ScxHttpClientResponsestatic cool.scx.http.ScxHttpClientRequestrequest()
-
Field Details
-
DEFAULT_HTTP_CLIENT
public static final cool.scx.http.ScxHttpClient DEFAULT_HTTP_CLIENT
-
-
Constructor Details
-
ScxHttpClientHelper
public ScxHttpClientHelper()
-
-
Method Details
-
request
public static cool.scx.http.ScxHttpClientRequest request() -
get
public static cool.scx.http.ScxHttpClientResponse get(cool.scx.http.uri.ScxURI uri) -
post
public static cool.scx.http.ScxHttpClientResponse post(cool.scx.http.uri.ScxURI uri, cool.scx.http.media.multi_part.MultiPart content) -
put
public static cool.scx.http.ScxHttpClientResponse put(cool.scx.http.uri.ScxURI uri, cool.scx.http.media.multi_part.MultiPart content) -
delete
public static cool.scx.http.ScxHttpClientResponse delete(cool.scx.http.uri.ScxURI uri, cool.scx.http.media.multi_part.MultiPart content) -
get
-
post
public static cool.scx.http.ScxHttpClientResponse post(String uri, cool.scx.http.media.multi_part.MultiPart content) -
put
public static cool.scx.http.ScxHttpClientResponse put(String uri, cool.scx.http.media.multi_part.MultiPart content) -
delete
public static cool.scx.http.ScxHttpClientResponse delete(String uri, cool.scx.http.media.multi_part.MultiPart content)
-