接口的使用
org.redkale.util.ByteTuple
-
使用ByteTuple的程序包 程序包 说明 org.redkale.convert.json 提供JSON的序列化和反解析功能org.redkale.convert.pb org.redkale.net 网络TCP/UDP基础服务包org.redkale.net.http HTTP协议包,提供HTTP协议服务器org.redkale.util Redkale工具包 -
-
org.redkale.convert.json中ByteTuple的使用
实现ByteTuple的org.redkale.convert.json中的类 修饰符和类型 类 说明 classJsonBytesWriterwriteTo系列的方法输出的字符不能含特殊字符 -
org.redkale.convert.pb中ByteTuple的使用
参数类型为ByteTuple的org.redkale.convert.pb中的构造器 构造器 说明 ProtobufBytesWriter(ByteTuple tuple) -
org.redkale.net中ByteTuple的使用
参数类型为ByteTuple的org.redkale.net中的方法 修饰符和类型 方法 说明 booleanAsyncConnection. appendPipeline(int pipelineIndex, int pipelineCount, ByteTuple array)booleanAsyncConnection. appendPipeline(int pipelineIndex, int pipelineCount, ByteTuple header, ByteTuple body)voidResponse. finish(boolean kill, ByteTuple array)voidResponse. finish(ByteTuple array)protected voidResponse. send(ByteTuple array, CompletionHandler<Integer,Void> handler)<A> voidAsyncConnection. write(ByteTuple array, A attachment, CompletionHandler<Integer,? super A> handler)voidAsyncConnection. write(ByteTuple array, CompletionHandler<Integer,Void> handler)voidAsyncConnection. write(ByteTuple header, ByteTuple body, CompletionHandler<Integer,Void> handler)voidAsyncConnection. writeInIOThread(ByteTuple array, CompletionHandler<Integer,Void> handler)voidAsyncConnection. writeInIOThread(ByteTuple header, ByteTuple body, CompletionHandler<Integer,Void> handler) -
org.redkale.net.http中ByteTuple的使用
参数类型为ByteTuple的org.redkale.net.http中的方法 修饰符和类型 方法 说明 voidHttpResponse. finish(String contentType, ByteTuple array)将ByteTuple按响应结果输出 -
org.redkale.util中ByteTuple的使用
实现ByteTuple的org.redkale.util中的类 修饰符和类型 类 说明 classByteArray简单的byte[]操作类。声明为ByteTuple的org.redkale.util中的字段 修饰符和类型 字段 说明 static ByteTupleByteTuple. EMPTY参数类型为ByteTuple的org.redkale.util中的方法 修饰符和类型 方法 说明 booleanByteArray. deepEquals(ByteTuple tuple)比较内容是否相同ByteArrayByteArray. put(ByteTuple tuple)写入一组byte值参数类型为ByteTuple的org.redkale.util中的构造器 构造器 说明 ByteArray(ByteTuple tuple)
-