com.alibaba.dubbo.rpc.protocol.dubbo
Class DubboCodec

java.lang.Object
  extended by com.alibaba.dubbo.remoting.transport.AbstractCodec
      extended by com.alibaba.dubbo.remoting.transport.codec.TransportCodec
          extended by com.alibaba.dubbo.remoting.telnet.codec.TelnetCodec
              extended by com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec
                  extended by com.alibaba.dubbo.rpc.protocol.dubbo.DubboCodec
All Implemented Interfaces:
Codec2

public class DubboCodec
extends ExchangeCodec
implements Codec2

Dubbo codec.

Author:
qianlei, chao.liuc

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.alibaba.dubbo.remoting.Codec2
Codec2.DecodeResult
 
Field Summary
static String DUBBO_VERSION
           
static Class<?>[] EMPTY_CLASS_ARRAY
           
static Object[] EMPTY_OBJECT_ARRAY
           
static String NAME
           
static byte RESPONSE_NULL_VALUE
           
static byte RESPONSE_VALUE
           
static byte RESPONSE_WITH_EXCEPTION
           
 
Constructor Summary
DubboCodec()
           
 
Method Summary
 
Methods inherited from class com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec
decode, encode, getMagicCode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.alibaba.dubbo.remoting.Codec2
decode, encode
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DUBBO_VERSION

public static final String DUBBO_VERSION

RESPONSE_WITH_EXCEPTION

public static final byte RESPONSE_WITH_EXCEPTION
See Also:
Constant Field Values

RESPONSE_VALUE

public static final byte RESPONSE_VALUE
See Also:
Constant Field Values

RESPONSE_NULL_VALUE

public static final byte RESPONSE_NULL_VALUE
See Also:
Constant Field Values

EMPTY_OBJECT_ARRAY

public static final Object[] EMPTY_OBJECT_ARRAY

EMPTY_CLASS_ARRAY

public static final Class<?>[] EMPTY_CLASS_ARRAY
Constructor Detail

DubboCodec

public DubboCodec()


Copyright © 2012–2017 Alibaba. All rights reserved.