org.apache.http.config
Class MessageConstraints
java.lang.Object
org.apache.http.config.MessageConstraints
- All Implemented Interfaces:
- java.lang.Cloneable
public class MessageConstraints
- extends java.lang.Object
- implements java.lang.Cloneable
HTTP Message constraints: line length and header count.
- Since:
- 4.3
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT
public static final MessageConstraints DEFAULT
getMaxLineLength
public int getMaxLineLength()
getMaxHeaderCount
public int getMaxHeaderCount()
clone
protected MessageConstraints clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
lineLen
public static MessageConstraints lineLen(int max)
custom
public static MessageConstraints.Builder custom()
copy
public static MessageConstraints.Builder copy(MessageConstraints config)