public interface IHttpRequest
Modifier and Type | Method and Description |
---|---|
IHttpResponse |
delete()
执行DELETE请求
|
IHttpResponse |
get()
执行GET请求
|
IHttpResponse |
head()
执行HEAD请求
|
IHttpResponse |
options()
执行OPTIONS请求
|
IHttpResponse |
patch()
执行PATCH请求
|
IHttpResponse |
post()
执行POST请求
|
IHttpResponse |
put()
执行PUT请求
|
IHttpResponse |
trace()
执行TRACE请求
|
IHttpResponse get() throws Exception
Exception
- 可能产生的任何异常IHttpResponse post() throws Exception
Exception
- 可能产生的任何异常IHttpResponse head() throws Exception
Exception
- 可能产生的任何异常IHttpResponse put() throws Exception
Exception
- 可能产生的任何异常IHttpResponse delete() throws Exception
Exception
- 可能产生的任何异常IHttpResponse patch() throws Exception
Exception
- 可能产生的任何异常IHttpResponse options() throws Exception
Exception
- 可能产生的任何异常IHttpResponse trace() throws Exception
Exception
- 可能产生的任何异常Copyright © 2022. All rights reserved.