public class UrlencodedFormContentProcessor extends Object implements ContentProcessor
CONTENT_TYPE_HEADER, CRLF| Constructor and Description |
|---|
UrlencodedFormContentProcessor() |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
getSupportedContentType()
Returns supported
ContentType of this processor. |
void |
process(feign.RequestTemplate template,
Charset charset,
Map<String,Object> data)
Processes a request.
|
public void process(feign.RequestTemplate template,
Charset charset,
Map<String,Object> data)
throws feign.codec.EncodeException
ContentProcessorprocess in interface ContentProcessortemplate - Feign's request template.charset - request charset from 'Content-Type' header (UTF-8 by default).data - reqeust data.feign.codec.EncodeException - in case of any encode exceptionpublic ContentType getSupportedContentType()
ContentProcessorContentType of this processor.getSupportedContentType in interface ContentProcessorCopyright © 2016–2019. All rights reserved.