public class CseClientHttpRequest extends Object implements org.springframework.http.client.ClientHttpRequest
| Constructor and Description |
|---|
CseClientHttpRequest() |
CseClientHttpRequest(URI uri,
org.springframework.http.HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
collectArguments() |
protected RequestMeta |
createRequestMeta(String httpMethod,
URI uri) |
protected org.apache.servicecomb.swagger.invocation.Response |
doInvoke(org.apache.servicecomb.core.Invocation invocation) |
org.springframework.http.client.ClientHttpResponse |
execute() |
protected org.apache.servicecomb.core.provider.consumer.ReferenceConfig |
findReferenceConfig(String microserviceName) |
protected String |
findUriPath(URI uri) |
OutputStream |
getBody() |
org.apache.servicecomb.swagger.invocation.context.InvocationContext |
getContext() |
org.springframework.http.HttpHeaders |
getHeaders() |
org.springframework.http.HttpMethod |
getMethod() |
String |
getPath() |
protected RequestMeta |
getRequestMeta() |
URI |
getURI() |
protected org.apache.servicecomb.core.Invocation |
prepareInvocation(Object[] args) |
void |
setContext(org.apache.servicecomb.swagger.invocation.context.InvocationContext context) |
void |
setMethod(org.springframework.http.HttpMethod method) |
void |
setPath(String path) |
protected void |
setQueryParams(Map<String,List<String>> queryParams) |
void |
setRequestBody(Object requestBody) |
protected void |
setRequestMeta(RequestMeta requestMeta) |
void |
setUri(URI uri) |
public CseClientHttpRequest()
public CseClientHttpRequest(URI uri, org.springframework.http.HttpMethod method)
public String getPath()
public void setPath(String path)
protected RequestMeta getRequestMeta()
protected void setRequestMeta(RequestMeta requestMeta)
public void setUri(URI uri)
public void setMethod(org.springframework.http.HttpMethod method)
public org.apache.servicecomb.swagger.invocation.context.InvocationContext getContext()
public void setContext(org.apache.servicecomb.swagger.invocation.context.InvocationContext context)
public void setRequestBody(Object requestBody)
public org.springframework.http.HttpMethod getMethod()
getMethod in interface org.springframework.http.HttpRequestpublic URI getURI()
getURI in interface org.springframework.http.HttpRequestpublic org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic OutputStream getBody()
getBody in interface org.springframework.http.HttpOutputMessagepublic org.springframework.http.client.ClientHttpResponse execute()
execute in interface org.springframework.http.client.ClientHttpRequestprotected RequestMeta createRequestMeta(String httpMethod, URI uri)
protected org.apache.servicecomb.core.provider.consumer.ReferenceConfig findReferenceConfig(String microserviceName)
protected org.apache.servicecomb.core.Invocation prepareInvocation(Object[] args)
protected org.apache.servicecomb.swagger.invocation.Response doInvoke(org.apache.servicecomb.core.Invocation invocation)
protected Object[] collectArguments()
Copyright © 2017–2019 The Apache Software Foundation. All rights reserved.