org.glassfish.grizzly.utils
Class StringFilter

java.lang.Object
  extended by org.glassfish.grizzly.filterchain.BaseFilter
      extended by org.glassfish.grizzly.filterchain.AbstractCodecFilter<Buffer,String>
          extended by org.glassfish.grizzly.utils.StringFilter
All Implemented Interfaces:
Codec<Buffer,String>, CodecFilter<Buffer,String>, Filter

public final class StringFilter
extends AbstractCodecFilter<Buffer,String>

StringFilter implementation, which performs Buffer <-> String transformation.

Author:
Alexey Stashok

Constructor Summary
StringFilter()
           
StringFilter(Charset charset)
           
StringFilter(Charset charset, String stringTerminatingSymb)
           
 
Method Summary
 
Methods inherited from class org.glassfish.grizzly.filterchain.AbstractCodecFilter
getDecoder, getEncoder, handleRead, handleWrite
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.glassfish.grizzly.filterchain.Filter
exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved
 

Constructor Detail

StringFilter

public StringFilter()

StringFilter

public StringFilter(Charset charset)

StringFilter

public StringFilter(Charset charset,
                    String stringTerminatingSymb)


Copyright © 2013 Oracle Corporation. All Rights Reserved.