com.ning.http.client.providers.netty.netty4
Class UTF8Output

java.lang.Object
  extended by com.ning.http.client.providers.netty.netty4.UTF8Output

public class UTF8Output
extends Object

Checks UTF8 bytes for validity before converting it into a string

Author:
Bjoern Hoehrmann, https://github.com/joewalnes/webbit, Vibul Imtarnasan

Constructor Summary
UTF8Output(byte[] bytes)
           
 
Method Summary
 String toString()
           
 void write(byte[] bytes)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UTF8Output

public UTF8Output(byte[] bytes)
Method Detail

write

public void write(byte[] bytes)

write

public void write(int b)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.