Class HttpRequestSerializer
- All Implemented Interfaces:
Externalizable, Serializable
- See Also:
-
Field Summary
Fields inherited from class Serializer
cls, descriptor, origin, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalcSize(Request obj, CalcSizeStream css) fromJson(JsonReader in) read(DataStream in) private static intselectMethod(String requestLine) voidskip(DataStream in) voidtoJson(Request obj, StringBuilder builder) voidwrite(Request obj, DataStream out) Methods inherited from class Serializer
cls, code, deserialize, equals, fromString, generateUid, hashCode, persist, readExternal, serialize, sizeOf, skipExternal, toJson, toString, uid, uniqueName, writeExternal
-
Constructor Details
-
HttpRequestSerializer
HttpRequestSerializer()
-
-
Method Details
-
calcSize
- Specified by:
calcSizein classSerializer<Request>- Throws:
IOException
-
write
- Specified by:
writein classSerializer<Request>- Throws:
IOException
-
read
- Specified by:
readin classSerializer<Request>- Throws:
IOExceptionClassNotFoundException
-
skip
- Specified by:
skipin classSerializer<Request>- Throws:
IOExceptionClassNotFoundException
-
toJson
- Specified by:
toJsonin classSerializer<Request>- Throws:
IOException
-
fromJson
- Specified by:
fromJsonin classSerializer<Request>- Throws:
IOExceptionClassNotFoundException
-
selectMethod
- Throws:
IOException
-