Class NativeHttpResponse

  • All Implemented Interfaces:
    AwsHttpResponse

    @Introspected
    public class NativeHttpResponse
    extends java.lang.Object
    implements AwsHttpResponse
    Since:
    7.11.2020
    • Constructor Summary

      Constructors 
      Constructor Description
      NativeHttpResponse​(java.net.http.HttpResponse<java.lang.String> httpResponse)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String body()  
      java.lang.String headerAnyOrThrow​(java.lang.String name)  
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()  
      • Methods inherited from class java.lang.Object

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

      • NativeHttpResponse

        public NativeHttpResponse​(java.net.http.HttpResponse<java.lang.String> httpResponse)
    • Method Detail

      • headers

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()
        Specified by:
        headers in interface AwsHttpResponse