Class DefaultResponseCodecs.StringResponseCodec
java.lang.Object
net.bluemind.core.rest.base.codec.DefaultResponseCodecs.StringResponseCodec
- All Implemented Interfaces:
ResponseCodec<String>
- Enclosing class:
DefaultResponseCodecs
public static class DefaultResponseCodecs.StringResponseCodec
extends Object
implements ResponseCodec<String>
-
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, String response) encodeFault
(RestRequest request, String defaultMimeType, Throwable fault)
-
Constructor Details
-
StringResponseCodec
public StringResponseCodec()
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceResponseCodec<String>
-
decode
- Specified by:
decode
in interfaceResponseCodec<String>
- Throws:
ServerFault
-
encodeFault
- Specified by:
encodeFault
in interfaceResponseCodec<String>
-