public class InputStreamHttpInputMessage extends Object implements HttpInputMessage
HttpInputMessage based on a plain InputStream, i.e. exposing no headers.| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBody() |
HttpHeaders |
getHeaders() |
static InputStreamHttpInputMessage |
of(InputStream body) |
public static InputStreamHttpInputMessage of(InputStream body)
public InputStream getBody()
getBody in interface HttpInputMessagepublic HttpHeaders getHeaders()
getHeaders in interface HttpMessageCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.