public final class RequestDataWriterRegistry extends Object
| Constructor and Description |
|---|
RequestDataWriterRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
addWriter(int type,
EntityWriter<T,io.netty.buffer.ByteBuf> writer) |
static EntityWriter<Object,io.netty.buffer.ByteBuf> |
getWriter(int type) |
static boolean |
remove(int type) |
public static <T> boolean addWriter(int type,
EntityWriter<T,io.netty.buffer.ByteBuf> writer)
public static EntityWriter<Object,io.netty.buffer.ByteBuf> getWriter(int type)
public static boolean remove(int type)
Copyright © 2022 Alibaba Group. All rights reserved.