Class DefaultResponseCodecs.VoidCodec
java.lang.Object
net.bluemind.core.rest.base.codec.DefaultResponseCodecs.VoidCodec
- All Implemented Interfaces:
ResponseCodec<Void>
- Enclosing class:
DefaultResponseCodecs
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bluemind.core.rest.base.codec.ResponseCodec
ResponseCodec.Factory<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(RestResponse response) encode
(RestRequest request, String defaultMimeType, Void response) encodeFault
(RestRequest request, String defaultMimeType, Throwable fault)
-
Constructor Details
-
VoidCodec
public VoidCodec()
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceResponseCodec<Void>
-
decode
- Specified by:
decode
in interfaceResponseCodec<Void>
- Throws:
ServerFault
-
encodeFault
- Specified by:
encodeFault
in interfaceResponseCodec<Void>
-