public final class StringRequestConverterFunction extends Object implements RequestConverterFunction
RequestConverterFunction which converts a text body of
the AggregatedHttpRequest to a String.| Constructor and Description |
|---|
StringRequestConverterFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertRequest(ServiceRequestContext ctx,
AggregatedHttpRequest request,
Class<?> expectedResultType)
Converts the specified
AggregatedHttpRequest to a String. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfallthroughpublic Object convertRequest(ServiceRequestContext ctx, AggregatedHttpRequest request, Class<?> expectedResultType) throws Exception
AggregatedHttpRequest to a String.convertRequest in interface RequestConverterFunctionExceptionCopyright © 2020 LeanCloud. All rights reserved.