public final class MediaTypeUtil extends Object
Constructor and Description |
---|
MediaTypeUtil() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.http.MediaType |
copyQualityValue(org.springframework.http.MediaType acceptType,
org.springframework.http.MediaType produceType)
Return a replica of this instance with the quality value of the given MediaType.
|
public static org.springframework.http.MediaType copyQualityValue(org.springframework.http.MediaType acceptType, org.springframework.http.MediaType produceType)
Copyright © 2006–2018 TinyGroup. All rights reserved.