Class SerializedBody


  • public class SerializedBody
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SerializedBody​(java.lang.String contentType, java.net.http.HttpRequest.BodyPublisher body)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.http.HttpRequest.BodyPublisher body()  
      java.lang.String contentType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializedBody

        public SerializedBody​(java.lang.String contentType,
                              java.net.http.HttpRequest.BodyPublisher body)
    • Method Detail

      • contentType

        public java.lang.String contentType()
      • body

        public java.net.http.HttpRequest.BodyPublisher body()