public class HproseUtils extends Object implements HproseConstants
HPROSE, RsfTag_RefTagArgument, TagBytes, TagCall, TagClass, TagClosebrace, TagDate, TagDouble, TagEmpty, TagEnd, TagError, TagFalse, TagFunctions, TagGuid, TagInfinity, TagInteger, TagList, TagLong, TagMap, TagNaN, TagNeg, TagNull, TagObject, TagOpenbrace, TagPoint, TagPos, TagQuote, TagRef, TagResult, TagSemicolon, TagString, TagTime, TagTrue, TagUTC, TagUTF8Char| 构造器和说明 |
|---|
HproseUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
decodeResponse(InputStream inputStream) |
static RequestInfo[] |
doCall(RsfContext rsfContext,
InputStream content,
String requestURI,
String origin) |
static String[] |
doFunction(RsfContext rsfContext) |
static io.netty.buffer.ByteBuf |
encodeRequest(RsfContext rsfContext,
RequestInfo request) |
static void |
parseResponse(long requestID,
ResponseInfo response,
OutputStream output) |
public static String[] doFunction(RsfContext rsfContext) throws IOException
IOExceptionpublic static RequestInfo[] doCall(RsfContext rsfContext, InputStream content, String requestURI, String origin) throws RsfException, IOException
public static void parseResponse(long requestID,
ResponseInfo response,
OutputStream output)
throws IOException
IOExceptionpublic static io.netty.buffer.ByteBuf encodeRequest(RsfContext rsfContext, RequestInfo request) throws IOException
IOExceptionpublic static Object decodeResponse(InputStream inputStream) throws IOException
IOExceptionCopyright © 2020–2021. All rights reserved.