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
());
从类 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)