parent
							
								
									88115212eb
								
							
						
					
					
						commit
						1fd7bc3ee5
					
				| 
						 | 
					@ -16,6 +16,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package org.springframework.util;
 | 
					package org.springframework.util;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.io.Serializable;
 | 
				
			||||||
import java.nio.charset.Charset;
 | 
					import java.nio.charset.Charset;
 | 
				
			||||||
import java.util.BitSet;
 | 
					import java.util.BitSet;
 | 
				
			||||||
import java.util.Collections;
 | 
					import java.util.Collections;
 | 
				
			||||||
| 
						 | 
					@ -45,7 +46,9 @@ import java.util.TreeSet;
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @see MimeTypeUtils
 | 
					 * @see MimeTypeUtils
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
public class MimeType implements Comparable<MimeType> {
 | 
					public class MimeType implements Comparable<MimeType>, Serializable {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private static final long serialVersionUID = 4085923477777865903L;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	protected static final String WILDCARD_TYPE = "*";
 | 
						protected static final String WILDCARD_TYPE = "*";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,6 +16,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package org.springframework.http;
 | 
					package org.springframework.http;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.io.Serializable;
 | 
				
			||||||
import java.nio.charset.Charset;
 | 
					import java.nio.charset.Charset;
 | 
				
			||||||
import java.util.ArrayList;
 | 
					import java.util.ArrayList;
 | 
				
			||||||
import java.util.Collection;
 | 
					import java.util.Collection;
 | 
				
			||||||
| 
						 | 
					@ -42,7 +43,9 @@ import org.springframework.util.comparator.CompoundComparator;
 | 
				
			||||||
 * @since 3.0
 | 
					 * @since 3.0
 | 
				
			||||||
 * @see <a href="http://tools.ietf.org/html/rfc2616#section-3.7">HTTP 1.1, section 3.7</a>
 | 
					 * @see <a href="http://tools.ietf.org/html/rfc2616#section-3.7">HTTP 1.1, section 3.7</a>
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
public class MediaType extends MimeType {
 | 
					public class MediaType extends MimeType implements Serializable {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private static final long serialVersionUID = 2069937152339670231L;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
	 * Public constant media type that includes all media ranges (i.e. "*/*").
 | 
						 * Public constant media type that includes all media ranges (i.e. "*/*").
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue