public class BHiveHttpInputMessage extends Object implements org.springframework.http.HttpMessage, org.springframework.http.HttpInputMessage
| Constructor and Description |
|---|
BHiveHttpInputMessage(org.springframework.http.HttpInputMessage httpInputMessage,
InputStream customBody)
생성자
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
void |
setBody(InputStream customBody)
사용자가 임의로 변경한 InputStream body를 설정 (예.
|
public BHiveHttpInputMessage(org.springframework.http.HttpInputMessage httpInputMessage,
InputStream customBody)
httpInputMessage - 원본 HttpInputMessagecustomBody - 원본 HttpInputMessage의 Body를 래핑하여 변경처리할 커스텀 Bodypublic org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic InputStream getBody() throws IOException
getBody in interface org.springframework.http.HttpInputMessageIOExceptionpublic void setBody(InputStream customBody)
customBody - InputStream objectCopyright © 2018. All rights reserved.