com.alibaba.dubbo.remoting.transport.grizzly
Class GrizzlyCodecAdapter

java.lang.Object
  extended by org.glassfish.grizzly.filterchain.BaseFilter
      extended by com.alibaba.dubbo.remoting.transport.grizzly.GrizzlyCodecAdapter
All Implemented Interfaces:
org.glassfish.grizzly.filterchain.Filter

public class GrizzlyCodecAdapter
extends org.glassfish.grizzly.filterchain.BaseFilter

GrizzlyCodecAdapter

Author:
william.liangf

Constructor Summary
GrizzlyCodecAdapter(Codec2 codec, URL url, ChannelHandler handler)
           
 
Method Summary
 org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext context)
           
 org.glassfish.grizzly.filterchain.NextAction handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext context)
           
 
Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter
createContext, exceptionOccurred, getFilterChain, getIndex, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzlyCodecAdapter

public GrizzlyCodecAdapter(Codec2 codec,
                           URL url,
                           ChannelHandler handler)
Method Detail

handleWrite

public org.glassfish.grizzly.filterchain.NextAction handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext context)
                                                         throws IOException
Specified by:
handleWrite in interface org.glassfish.grizzly.filterchain.Filter
Overrides:
handleWrite in class org.glassfish.grizzly.filterchain.BaseFilter
Throws:
IOException

handleRead

public org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext context)
                                                        throws IOException
Specified by:
handleRead in interface org.glassfish.grizzly.filterchain.Filter
Overrides:
handleRead in class org.glassfish.grizzly.filterchain.BaseFilter
Throws:
IOException


Copyright © 2012–2017 Alibaba. All rights reserved.