public class InboundMsgSizeValidationConfig extends Object
| Constructor and Description |
|---|
InboundMsgSizeValidationConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxChunkSize()
The maximum length of the content or each chunk.
|
long |
getMaxEntityBodySize() |
int |
getMaxHeaderSize()
The maximum length of all headers.
|
int |
getMaxInitialLineLength()
The maximum length of the initial line (e.g.
|
void |
setMaxChunkSize(int maxChunkSize) |
void |
setMaxEntityBodySize(long maxEntityBodySize) |
void |
setMaxHeaderSize(int maxHeaderSize) |
void |
setMaxInitialLineLength(int maxInitialLineLength) |
public int getMaxInitialLineLength()
"GET / HTTP/1.0" or "HTTP/1.0 200 OK") If the length
of the initial line exceeds this value, a TooLongFrameException will be raised from netty code.public void setMaxInitialLineLength(int maxInitialLineLength)
public int getMaxHeaderSize()
public void setMaxHeaderSize(int maxHeaderSize)
public int getMaxChunkSize()
maxChunkSize at
maximum.public void setMaxChunkSize(int maxChunkSize)
public long getMaxEntityBodySize()
public void setMaxEntityBodySize(long maxEntityBodySize)
Copyright © 2023 WSO2. All rights reserved.