Class FullJsonResponseHandler.JsonResponse<T>

    • Constructor Detail

      • JsonResponse

        public JsonResponse​(int statusCode,
                            com.google.common.collect.ListMultimap<HeaderName,​String> headers,
                            byte[] responseBytes)
      • JsonResponse

        public JsonResponse​(int statusCode,
                            com.google.common.collect.ListMultimap<HeaderName,​String> headers,
                            JsonCodec<T> jsonCodec,
                            byte[] jsonBytes)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • getHeader

        @Nullable
        public String getHeader​(String name)
      • getHeaders

        public com.google.common.collect.ListMultimap<HeaderName,​String> getHeaders()
      • hasValue

        public boolean hasValue()
      • getValue

        public T getValue()
      • getResponseSize

        public int getResponseSize()
      • getResponseBytes

        public byte[] getResponseBytes()
      • getResponseBody

        public String getResponseBody()
      • getJsonBytes

        public byte[] getJsonBytes()
      • getJson

        public String getJson()