Class HttpHandlingSettings

java.lang.Object
org.elasticsearch.http.HttpHandlingSettings

public class HttpHandlingSettings extends Object
  • Constructor Details

    • HttpHandlingSettings

      public HttpHandlingSettings(int maxContentLength, int maxChunkSize, int maxHeaderSize, int maxInitialLineLength, boolean resetCookies, boolean compression, int compressionLevel, boolean detailedErrorsEnabled, int pipeliningMaxEvents, long readTimeoutMillis, boolean corsEnabled)
  • Method Details

    • fromSettings

      public static HttpHandlingSettings fromSettings(Settings settings)
    • getMaxContentLength

      public int getMaxContentLength()
    • getMaxChunkSize

      public int getMaxChunkSize()
    • getMaxHeaderSize

      public int getMaxHeaderSize()
    • getMaxInitialLineLength

      public int getMaxInitialLineLength()
    • isResetCookies

      public boolean isResetCookies()
    • isCompression

      public boolean isCompression()
    • getCompressionLevel

      public int getCompressionLevel()
    • getDetailedErrorsEnabled

      public boolean getDetailedErrorsEnabled()
    • getPipeliningMaxEvents

      public int getPipeliningMaxEvents()
    • getReadTimeoutMillis

      public long getReadTimeoutMillis()
    • isCorsEnabled

      public boolean isCorsEnabled()