public interface ContentProcessor
MultipartFormContentProcessor,
UrlencodedFormContentProcessor| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_HEADER |
static String |
CRLF |
| 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.
|
static final String CONTENT_TYPE_HEADER
static final String CRLF
void process(feign.RequestTemplate template,
Charset charset,
Map<String,Object> data)
throws feign.codec.EncodeException
template - 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 exceptionContentType getSupportedContentType()
ContentType of this processor.Copyright © 2016–2019. All rights reserved.