@@ -37,8 +37,8 @@ public interface CustomSerializer {
37
37
* @return
38
38
* @throws CodecException
39
39
*/
40
- public <T extends RequestCommand > boolean serializeHeader (T request , InvokeContext invokeContext )
41
- throws SerializationException ;
40
+ <T extends RequestCommand > boolean serializeHeader (T request , InvokeContext invokeContext )
41
+ throws SerializationException ;
42
42
43
43
/**
44
44
* Serialize the header of ResponseCommand.
@@ -47,8 +47,7 @@ public <T extends RequestCommand> boolean serializeHeader(T request, InvokeConte
47
47
* @return
48
48
* @throws CodecException
49
49
*/
50
- public <T extends ResponseCommand > boolean serializeHeader (T response )
51
- throws SerializationException ;
50
+ <T extends ResponseCommand > boolean serializeHeader (T response ) throws SerializationException ;
52
51
53
52
/**
54
53
* Deserialize the header of RequestCommand.
@@ -57,8 +56,7 @@ public <T extends ResponseCommand> boolean serializeHeader(T response)
57
56
* @return
58
57
* @throws CodecException
59
58
*/
60
- public <T extends RequestCommand > boolean deserializeHeader (T request )
61
- throws DeserializationException ;
59
+ <T extends RequestCommand > boolean deserializeHeader (T request ) throws DeserializationException ;
62
60
63
61
/**
64
62
* Deserialize the header of ResponseCommand.
@@ -68,9 +66,8 @@ public <T extends RequestCommand> boolean deserializeHeader(T request)
68
66
* @return
69
67
* @throws CodecException
70
68
*/
71
- public <T extends ResponseCommand > boolean deserializeHeader (T response ,
72
- InvokeContext invokeContext )
73
- throws DeserializationException ;
69
+ <T extends ResponseCommand > boolean deserializeHeader (T response , InvokeContext invokeContext )
70
+ throws DeserializationException ;
74
71
75
72
/**
76
73
* Serialize the content of RequestCommand.
@@ -80,9 +77,8 @@ public <T extends ResponseCommand> boolean deserializeHeader(T response,
80
77
* @return
81
78
* @throws CodecException
82
79
*/
83
- public <T extends RequestCommand > boolean serializeContent (T request ,
84
- InvokeContext invokeContext )
85
- throws SerializationException ;
80
+ <T extends RequestCommand > boolean serializeContent (T request , InvokeContext invokeContext )
81
+ throws SerializationException ;
86
82
87
83
/**
88
84
* Serialize the content of ResponseCommand.
@@ -91,8 +87,7 @@ public <T extends RequestCommand> boolean serializeContent(T request,
91
87
* @return
92
88
* @throws CodecException
93
89
*/
94
- public <T extends ResponseCommand > boolean serializeContent (T response )
95
- throws SerializationException ;
90
+ <T extends ResponseCommand > boolean serializeContent (T response ) throws SerializationException ;
96
91
97
92
/**
98
93
* Deserialize the content of RequestCommand.
@@ -101,8 +96,8 @@ public <T extends ResponseCommand> boolean serializeContent(T response)
101
96
* @return
102
97
* @throws CodecException
103
98
*/
104
- public <T extends RequestCommand > boolean deserializeContent (T request )
105
- throws DeserializationException ;
99
+ <T extends RequestCommand > boolean deserializeContent (T request )
100
+ throws DeserializationException ;
106
101
107
102
/**
108
103
* Deserialize the content of ResponseCommand.
@@ -112,7 +107,6 @@ public <T extends RequestCommand> boolean deserializeContent(T request)
112
107
* @return
113
108
* @throws CodecException
114
109
*/
115
- public <T extends ResponseCommand > boolean deserializeContent (T response ,
116
- InvokeContext invokeContext )
117
- throws DeserializationException ;
110
+ <T extends ResponseCommand > boolean deserializeContent (T response , InvokeContext invokeContext )
111
+ throws DeserializationException ;
118
112
}
0 commit comments