Interface HTTPResponsePropertiesOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    HTTPResponseProperties, HTTPResponseProperties.Builder

    public interface HTTPResponsePropertiesOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasResponseCode

        boolean hasResponseCode()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
        Returns:
        Whether the responseCode field is set.
      • getResponseCode

        com.google.protobuf.UInt32Value getResponseCode()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
        Returns:
        The responseCode.
      • getResponseCodeOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getResponseCodeOrBuilder()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
      • getResponseHeadersBytes

        long getResponseHeadersBytes()
         Size of the HTTP response headers in bytes.
        
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include protocol overhead or overhead from framing or encoding at other networking layers.
         
        uint64 response_headers_bytes = 2;
        Returns:
        The responseHeadersBytes.
      • getResponseBodyBytes

        long getResponseBodyBytes()
         Size of the HTTP response body in bytes.
        
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_body_bytes = 3;
        Returns:
        The responseBodyBytes.
      • getResponseHeadersCount

        int getResponseHeadersCount()
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • containsResponseHeaders

        boolean containsResponseHeaders​(java.lang.String key)
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseHeaders

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getResponseHeaders()
        Deprecated.
      • getResponseHeadersMap

        java.util.Map<java.lang.String,​java.lang.String> getResponseHeadersMap()
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseHeadersOrDefault

        java.lang.String getResponseHeadersOrDefault​(java.lang.String key,
                                                     java.lang.String defaultValue)
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseHeadersOrThrow

        java.lang.String getResponseHeadersOrThrow​(java.lang.String key)
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getResponseTrailersCount

        int getResponseTrailersCount()
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • containsResponseTrailers

        boolean containsResponseTrailers​(java.lang.String key)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseTrailers

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getResponseTrailers()
        Deprecated.
      • getResponseTrailersMap

        java.util.Map<java.lang.String,​java.lang.String> getResponseTrailersMap()
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseTrailersOrDefault

        java.lang.String getResponseTrailersOrDefault​(java.lang.String key,
                                                      java.lang.String defaultValue)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseTrailersOrThrow

        java.lang.String getResponseTrailersOrThrow​(java.lang.String key)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getResponseCodeDetails

        java.lang.String getResponseCodeDetails()
         The HTTP response code details.
         
        string response_code_details = 6;
        Returns:
        The responseCodeDetails.
      • getResponseCodeDetailsBytes

        com.google.protobuf.ByteString getResponseCodeDetailsBytes()
         The HTTP response code details.
         
        string response_code_details = 6;
        Returns:
        The bytes for responseCodeDetails.
      • getUpstreamHeaderBytesReceived

        long getUpstreamHeaderBytesReceived()
         Number of header bytes received from the upstream by the http stream, including protocol overhead.
         
        uint64 upstream_header_bytes_received = 7;
        Returns:
        The upstreamHeaderBytesReceived.
      • getDownstreamHeaderBytesSent

        long getDownstreamHeaderBytesSent()
         Number of header bytes sent to the downstream by the http stream, including protocol overhead.
         
        uint64 downstream_header_bytes_sent = 8;
        Returns:
        The downstreamHeaderBytesSent.