Tabnine Logo
TextLineEncoder.setMaxLineLength
Code IndexAdd Tabnine to your IDE (free)

How to use
setMaxLineLength
method
in
org.apache.mina.filter.codec.textline.TextLineEncoder

Best Java code snippets using org.apache.mina.filter.codec.textline.TextLineEncoder.setMaxLineLength (Showing top 4 results out of 315)

origin: kaazing/gateway

/**
 * Sets the allowed maximum size of the encoded line.
 * If the size of the encoded line exceeds this value, the encoder
 * will throw a {@link IllegalArgumentException}.  The default value
 * is {@link Integer#MAX_VALUE}.
 * <p>
 * This method does the same job with {@link TextLineEncoder#setMaxLineLength(int)}.
 */
public void setEncoderMaxLineLength(int maxLineLength) {
  encoder.setMaxLineLength(maxLineLength);
}
origin: org.apache.mina/mina-core

/**
 * Sets the allowed maximum size of the encoded line.
 * If the size of the encoded line exceeds this value, the encoder
 * will throw a {@link IllegalArgumentException}.  The default value
 * is {@link Integer#MAX_VALUE}.
 * <p>
 * This method does the same job with {@link TextLineEncoder#setMaxLineLength(int)}.
 * 
 * @param maxLineLength The maximum encoded line length
 */
public void setEncoderMaxLineLength(int maxLineLength) {
  encoder.setMaxLineLength(maxLineLength);
}
origin: org.apache.directory.mina/mina-core

/**
 * Sets the allowed maximum size of the encoded line.
 * If the size of the encoded line exceeds this value, the encoder
 * will throw a {@link IllegalArgumentException}.  The default value
 * is {@link Integer#MAX_VALUE}.
 * <p>
 * This method does the same job with {@link TextLineEncoder#setMaxLineLength(int)}.
 */
public void setEncoderMaxLineLength( int maxLineLength )
{
  encoder.setMaxLineLength( maxLineLength );
}

origin: org.apache.directory.api/api-ldap-client-all

/**
 * Sets the allowed maximum size of the encoded line.
 * If the size of the encoded line exceeds this value, the encoder
 * will throw a {@link IllegalArgumentException}.  The default value
 * is {@link Integer#MAX_VALUE}.
 * <p>
 * This method does the same job with {@link TextLineEncoder#setMaxLineLength(int)}.
 * 
 * @param maxLineLength The maximum encoded line length
 */
public void setEncoderMaxLineLength(int maxLineLength) {
  encoder.setMaxLineLength(maxLineLength);
}
org.apache.mina.filter.codec.textlineTextLineEncodersetMaxLineLength

Javadoc

Sets the allowed maximum size of the encoded line. If the size of the encoded line exceeds this value, the encoder will throw a IllegalArgumentException. The default value is Integer#MAX_VALUE.

Popular methods of TextLineEncoder

  • <init>
    Creates a new instance with the current default Charsetand the specified delimiter.
  • getMaxLineLength
    Returns the allowed maximum size of the encoded line. If the size of the encoded line exceeds this v
  • encode

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now