Class ResponseContextConfig

java.lang.Object
org.apache.druid.server.ResponseContextConfig

public class ResponseContextConfig extends Object
  • Field Details

    • DEFAULT_RESPONSE_CTX_HEADER_LEN_LIMIT

      public static final int DEFAULT_RESPONSE_CTX_HEADER_LEN_LIMIT
      The maximum length of ResponseContext serialized string that might be put into an HTTP response header
      See Also:
  • Method Details

    • newConfig

      public static ResponseContextConfig newConfig(boolean shouldFailOnTruncatedResponseContext)
    • forTest

      public static ResponseContextConfig forTest(boolean shouldFailOnTruncatedResponseContext, int maxResponseContextHeaderSize)
    • shouldFailOnTruncatedResponseContext

      public boolean shouldFailOnTruncatedResponseContext()
    • getMaxResponseContextHeaderSize

      public int getMaxResponseContextHeaderSize()