org.jboss.netty.handler.codec.base64
类 Base64Encoder

java.lang.Object
  继承者 org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      继承者 org.jboss.netty.handler.codec.base64.Base64Encoder
所有已实现的接口:
ChannelDownstreamHandler, ChannelHandler

@ChannelHandler.Sharable
public class Base64Encoder
extends OneToOneEncoder

Encodes a ChannelBuffer into a Base64-encoded ChannelBuffer. A typical setup for TCP/IP would be:

 ChannelPipeline pipeline = ...;

 // Decoders
 pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(80, Delimiters.nulDelimiter()));
 pipeline.addLast("base64Decoder", new Base64Decoder());

 // Encoder
 pipeline.addLast("base64Encoder", new Base64Encoder());
 


嵌套类摘要
 
从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口
ChannelHandler.Sharable
 
构造方法摘要
Base64Encoder()
           
Base64Encoder(boolean breakLines)
           
Base64Encoder(boolean breakLines, Base64Dialect dialect)
           
 
方法摘要
 
从类 org.jboss.netty.handler.codec.oneone.OneToOneEncoder 继承的方法
handleDownstream
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Base64Encoder

public Base64Encoder()

Base64Encoder

public Base64Encoder(boolean breakLines)

Base64Encoder

public Base64Encoder(boolean breakLines,
                     Base64Dialect dialect)