public class MessageConstraints extends Object implements Cloneable
Please note that line length is defined in bytes and not characters. This is only relevant however when using non-standard HTTP charsets for protocol elements such as UTF-8.
Modifier and Type | Class and Description |
---|---|
static class |
MessageConstraints.Builder |
Modifier and Type | Field and Description |
---|---|
static MessageConstraints |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static MessageConstraints.Builder |
copy(MessageConstraints config) |
static MessageConstraints.Builder |
custom() |
int |
getMaxHeaderCount() |
int |
getMaxLineLength() |
static MessageConstraints |
lineLen(int max) |
String |
toString() |
public static final MessageConstraints DEFAULT
public int getMaxLineLength()
public int getMaxHeaderCount()
public static MessageConstraints lineLen(int max)
public static MessageConstraints.Builder custom()
public static MessageConstraints.Builder copy(MessageConstraints config)
Copyright © 2010 - 2020 Adobe. All Rights Reserved