public interface ContentProcessor
MultipartFormContentProcessor,
UrlencodedFormContentProcessor| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_HEADER
A content type header name.
|
static String |
CRLF
End line symbols.
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
getSupportedContentType()
Returns supported
ContentType of this processor. |
void |
process(RequestTemplate template,
Charset charset,
Map<String,Object> data)
Processes a request.
|
static final String CONTENT_TYPE_HEADER
static final String CRLF
void process(RequestTemplate template, Charset charset, Map<String,Object> data) throws EncodeException
template - Feign's request template.charset - request charset from 'Content-Type' header (UTF-8 by default).data - reqeust data.EncodeException - in case of any encode exceptionContentType getSupportedContentType()
ContentType of this processor.Copyright © 2012–2024 OpenFeign. All rights reserved.