Package org.elasticsearch.http
Class HttpHandlingSettings
java.lang.Object
org.elasticsearch.http.HttpHandlingSettings
-
Constructor Summary
ConstructorDescriptionHttpHandlingSettings(int maxContentLength, int maxChunkSize, int maxHeaderSize, int maxInitialLineLength, boolean resetCookies, boolean compression, int compressionLevel, boolean detailedErrorsEnabled, int pipeliningMaxEvents, long readTimeoutMillis, boolean corsEnabled)
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpHandlingSettings
fromSettings(Settings settings)
int
boolean
int
int
int
int
int
long
boolean
boolean
boolean
-
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
-
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()
-