public class HttpTransportUtils extends Object
| 构造器和说明 |
|---|
HttpTransportUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static String[] |
getInterfaceIdAndMethod(String uri) |
static byte |
getSerializeTypeByContentType(String contentType)
Parse serialize type from content type
|
static byte |
getSerializeTypeByName(String serialization)
根据序列化名称获得序列化类型
|
public static byte getSerializeTypeByName(String serialization) throws SofaRpcException
serialization - 序列化类型名称SofaRpcExceptionpublic static byte getSerializeTypeByContentType(String contentType) throws SofaRpcException
contentType - Content-type of http requestSofaRpcException - unknown content typeCopyright © 2008–2018 The Ant Financial. All rights reserved.