Class HttpRequest
java.lang.Object
com.github.mkopylec.charon.forwarding.interceptors.HttpRequest
- All Implemented Interfaces:
org.springframework.http.HttpMessage,org.springframework.http.HttpRequest
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBody()org.springframework.http.HttpHeadersorg.springframework.http.HttpMethodgetURI()voidsetBody(byte[] body) voidsetHeaders(org.springframework.http.HttpHeaders headers) voidsetMethod(org.springframework.http.HttpMethod method) void
-
Method Details
-
getURI
- Specified by:
getURIin interfaceorg.springframework.http.HttpRequest
-
setUri
-
getMethod
public org.springframework.http.HttpMethod getMethod()- Specified by:
getMethodin interfaceorg.springframework.http.HttpRequest
-
setMethod
public void setMethod(org.springframework.http.HttpMethod method) -
getHeaders
public org.springframework.http.HttpHeaders getHeaders()- Specified by:
getHeadersin interfaceorg.springframework.http.HttpMessage
-
setHeaders
public void setHeaders(org.springframework.http.HttpHeaders headers) -
getBody
public byte[] getBody() -
setBody
public void setBody(byte[] body)
-