@BetaApi
public interface HttpRequestFormatter<MessageFormatT>
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getPathParams(MessageFormatT apiMessage,
Set<String> paramNames)
Return a map where each entry is the name of a path param mapped to the value of the param.
|
Map<String,List<String>> |
getQueryParams(MessageFormatT apiMessage,
Set<String> paramNames)
Return a map where each entry is the name of a query param mapped to the values of the param.
|
void |
writeRequestBody(MessageFormatT apiMessage,
com.google.gson.Gson marshaller,
Appendable writer)
Write out the inner request body of the given message.
|
Map<String,List<String>> getQueryParams(MessageFormatT apiMessage, Set<String> paramNames)
Map<String,String> getPathParams(MessageFormatT apiMessage, Set<String> paramNames)
void writeRequestBody(MessageFormatT apiMessage, com.google.gson.Gson marshaller, Appendable writer)