public final class WxBufferingInputMessageWrapper extends Object implements org.springframework.http.HttpInputMessage, Closeable
Constructor and Description |
---|
WxBufferingInputMessageWrapper(org.springframework.http.HttpInputMessage httpInputMessage) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
byte[] |
getRawBody() |
WxBufferingInputMessageWrapper |
init()
构造后初始化,不想加在构造方法中,一定要记着初始化
|
public WxBufferingInputMessageWrapper(org.springframework.http.HttpInputMessage httpInputMessage)
public org.springframework.http.HttpHeaders getHeaders()
getHeaders
in interface org.springframework.http.HttpMessage
public InputStream getBody() throws IOException
getBody
in interface org.springframework.http.HttpInputMessage
IOException
public WxBufferingInputMessageWrapper init() throws IOException
IOException
public byte[] getRawBody()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.