所有方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
void |
addHeader(String key,
Object value) |
void |
addHeader(String key,
String value) |
void |
addHeaders(String key,
Collection<String> values) |
void |
addKeepAliveHeader(int time) |
void |
addParam(String key,
Object value) |
void |
addParam(String key,
String value) |
void |
addParams(String key,
Collection<String> values) |
void |
addValueByKey(String key,
String value,
Map<String,Collection<String>> maps) |
RequestTemplate |
body(Object body,
Class bodyType) |
String |
getAddress() |
Map<String,Collection<String>> |
getAllHeaders() |
Class<?> |
getBodyType() |
Integer |
getContentLength() |
String |
getContextPath() |
Collection<String> |
getEncodingValues() |
String |
getHeader(String name) |
Collection<String> |
getHeaders(String name) |
String |
getHttpMethod() |
org.apache.dubbo.rpc.Invocation |
getInvocation() |
Collection<String> |
getParam(String key) |
String |
getProtocol() |
Map<String,Collection<String>> |
getQueries() |
String |
getQueryString() |
byte[] |
getSerializedBody() |
Object |
getUnSerializedBody() |
String |
getUri() |
String |
getURL() |
RequestTemplate |
httpMethod(String httpMethod) |
boolean |
isBodyEmpty() |
boolean |
isDeflateEncodedRequest() |
boolean |
isGzipEncodedRequest() |
RequestTemplate |
path(String path) |
void |
serializeBody(byte[] body) |
void |
setAddress(String address) |
void |
setBodyType(Class<?> bodyType) |
void |
setContextPath(String contextPath) |
void |
setProtocol(String protocol) |