Java Code Examples for org.springframework.http.MediaType#ALL
The following examples show how to use
org.springframework.http.MediaType#ALL .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ByteArrayHttpMessageConverter.java From spring4-understanding with Apache License 2.0 | 4 votes |
/** Creates a new instance of the {@code ByteArrayHttpMessageConverter}. */ public ByteArrayHttpMessageConverter() { super(new MediaType("application", "octet-stream"), MediaType.ALL); }
Example 2
Source File: SerializableObjectHttpMessageConverter.java From gemfirexd-oss with Apache License 2.0 | 4 votes |
public SerializableObjectHttpMessageConverter() { super(MediaType.APPLICATION_OCTET_STREAM, MediaType.ALL); }
Example 3
Source File: WxHttpInputMessageConverter.java From FastBootWeixin with Apache License 2.0 | 4 votes |
public WxHttpInputMessageConverter() { super(MediaType.APPLICATION_OCTET_STREAM, MediaType.ALL); }
Example 4
Source File: ResourceHttpMessageConverter.java From spring4-understanding with Apache License 2.0 | 4 votes |
public ResourceHttpMessageConverter() { super(MediaType.ALL); }
Example 5
Source File: HttpCharsetConvert.java From anyline with Apache License 2.0 | 4 votes |
public HttpCharsetConvert() { super(new MediaType("text", "plain", DEFAULT_CHARSET), MediaType.ALL); this.availableCharsets = new ArrayList<Charset>(Charset.availableCharsets().values()); }
Example 6
Source File: HttpCharsetConvert.java From anyline with Apache License 2.0 | 4 votes |
public HttpCharsetConvert() { super(new MediaType("text", "plain", DEFAULT_CHARSET), MediaType.ALL); this.availableCharsets = new ArrayList<Charset>(Charset.availableCharsets().values()); }
Example 7
Source File: ByteArrayHttpMessageConverter.java From java-technology-stack with MIT License | 4 votes |
/** * Create a new instance of the {@code ByteArrayHttpMessageConverter}. */ public ByteArrayHttpMessageConverter() { super(MediaType.APPLICATION_OCTET_STREAM, MediaType.ALL); }
Example 8
Source File: FastJsonHttpMessageConverter.java From uavstack with Apache License 2.0 | 4 votes |
/** * Can serialize/deserialize all types. */ public FastJsonHttpMessageConverter() { super(MediaType.ALL); }
Example 9
Source File: StringHttpMessageConverter.java From spring4-understanding with Apache License 2.0 | 4 votes |
/** * A constructor accepting a default charset to use if the requested content * type does not specify one. */ public StringHttpMessageConverter(Charset defaultCharset) { super(new MediaType("text", "plain", defaultCharset), MediaType.ALL); this.defaultCharset = defaultCharset; this.availableCharsets = new ArrayList<Charset>(Charset.availableCharsets().values()); }
Example 10
Source File: ByteArrayHttpMessageConverter.java From spring-analysis-note with MIT License | 4 votes |
/** * Create a new instance of the {@code ByteArrayHttpMessageConverter}. */ public ByteArrayHttpMessageConverter() { super(MediaType.APPLICATION_OCTET_STREAM, MediaType.ALL); }
Example 11
Source File: ResourceRegionHttpMessageConverter.java From java-technology-stack with MIT License | 4 votes |
public ResourceRegionHttpMessageConverter() { super(MediaType.ALL); }
Example 12
Source File: SpringHttpMessageConverter.java From aaden-pay with Apache License 2.0 | 4 votes |
public SpringHttpMessageConverter() { super(new MediaType("text", "plain", DEFAULT_CHARSET), MediaType.ALL); this.availableCharsets = new ArrayList<Charset>(Charset.availableCharsets().values()); }
Example 13
Source File: ByteArrayHttpMessageConverter.java From lams with GNU General Public License v2.0 | 4 votes |
/** * Create a new instance of the {@code ByteArrayHttpMessageConverter}. */ public ByteArrayHttpMessageConverter() { super(new MediaType("application", "octet-stream"), MediaType.ALL); }
Example 14
Source File: ResourceHttpMessageConverter.java From lams with GNU General Public License v2.0 | 4 votes |
public ResourceHttpMessageConverter() { super(MediaType.ALL); }
Example 15
Source File: ResourceRegionHttpMessageConverter.java From lams with GNU General Public License v2.0 | 4 votes |
public ResourceRegionHttpMessageConverter() { super(MediaType.ALL); }
Example 16
Source File: StringHttpMessageConverter.java From java-technology-stack with MIT License | 2 votes |
/** * A constructor accepting a default charset to use if the requested content * type does not specify one. */ public StringHttpMessageConverter(Charset defaultCharset) { super(defaultCharset, MediaType.TEXT_PLAIN, MediaType.ALL); }
Example 17
Source File: StringHttpMessageConverter.java From lams with GNU General Public License v2.0 | 2 votes |
/** * A constructor accepting a default charset to use if the requested content * type does not specify one. */ public StringHttpMessageConverter(Charset defaultCharset) { super(defaultCharset, MediaType.TEXT_PLAIN, MediaType.ALL); }
Example 18
Source File: ResourceHttpMessageConverter.java From java-technology-stack with MIT License | 2 votes |
/** * Create a new instance of the {@code ResourceHttpMessageConverter} * that supports read streaming, i.e. can convert an * {@code HttpInputMessage} to {@code InputStreamResource}. */ public ResourceHttpMessageConverter() { super(MediaType.ALL); this.supportsReadStreaming = true; }
Example 19
Source File: StringHttpMessageConverter.java From spring-analysis-note with MIT License | 2 votes |
/** * A constructor accepting a default charset to use if the requested content * type does not specify one. */ public StringHttpMessageConverter(Charset defaultCharset) { super(defaultCharset, MediaType.TEXT_PLAIN, MediaType.ALL); }
Example 20
Source File: ResourceHttpMessageConverter.java From spring-analysis-note with MIT License | 2 votes |
/** * Create a new instance of the {@code ResourceHttpMessageConverter} * that supports read streaming, i.e. can convert an * {@code HttpInputMessage} to {@code InputStreamResource}. */ public ResourceHttpMessageConverter() { super(MediaType.ALL); this.supportsReadStreaming = true; }