Package org.elasticsearch.http
Class HttpHandlingSettings
java.lang.Object
org.elasticsearch.http.HttpHandlingSettings
-
Constructor Summary
ConstructorsConstructorDescriptionHttpHandlingSettings(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 HttpHandlingSettingsfromSettings(Settings settings)intbooleanintintintintintlongbooleanbooleanboolean
-
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()
-