| 程序包 | 说明 |
|---|---|
| com.ptteng.xqlease.common.debang.domain.result | |
| com.ptteng.xqlease.common.debang.util |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultDO<T> |
ResultDO.addException(Exception ex) |
ResultDO<T> |
ResultDO.addExceptionList(List<Exception> exList) |
static <T> ResultDO<T> |
ResultDOS.newResultDO(Exception ex) |
static <T> ResultDO<T> |
ResultDOS.newResultDO(List<Exception> exList) |
static <T> ResultDO<T> |
ResultDOS.newResultDO(T model) |
static <T> ResultDO<T> |
ResultDOS.newResultDO(T model,
Exception ex) |
static <T> ResultDO<T> |
ResultDOS.newResultDO(T model,
List<Exception> exList) |
ResultDO |
ResultDO.set(String key,
Object value) |
ResultDO<T> |
ResultDO.setException(Exception exception) |
ResultDO<T> |
ResultDO.setModel(T model) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResultDO<String> |
HttpUtils.sendRequest(String url,
List<org.apache.commons.httpclient.Header> headerList,
org.apache.commons.httpclient.methods.RequestEntity requestEntry,
String encoding,
int timeout) |
static ResultDO<String> |
HttpUtils.sendRequest(String url,
org.apache.commons.httpclient.NameValuePair[] paramsList,
String encoding,
int timeout)
HTTP的RequestBody方式请求
|
Copyright © 2019. All rights reserved.