Class InputStreamHttpInputMessage

java.lang.Object
org.springframework.data.rest.webmvc.util.InputStreamHttpInputMessage
All Implemented Interfaces:
org.springframework.http.HttpInputMessage, org.springframework.http.HttpMessage

public class InputStreamHttpInputMessage extends Object implements org.springframework.http.HttpInputMessage
HttpInputMessage based on a plain InputStream, i.e. exposing no headers.
Author:
Oliver Drotbohm
  • Method Details

    • of

      public static InputStreamHttpInputMessage of(InputStream body)
    • getBody

      public InputStream getBody()
      Specified by:
      getBody in interface org.springframework.http.HttpInputMessage
    • getHeaders

      public org.springframework.http.HttpHeaders getHeaders()
      Specified by:
      getHeaders in interface org.springframework.http.HttpMessage