Details
Description
LineDelimeter.DEFAULT equals LineDelimeter.AUTO that is the cause of "java.lang.IllegalArgumentException: AUTO delimiter is not allowed for encoder" exception at org.apache.mina.filter.codec.textline.TextLineEncoder.<init>(TextLineEncoder.java:68) when creating new TextLineEncoder instance with LineDelimiter.DEFAULT.
i. e. this line:
TextLineEncoder encoder = new TextLineEncoder(LineDelimiter.DEFAULT);
will cause "java.lang.IllegalArgumentException: AUTO delimiter is not allowed for encoder." exception.