org.cruxframework.crux.core.server.rest.util.header
Class MediaTypeHeaderParser
java.lang.Object
org.cruxframework.crux.core.server.rest.util.header.MediaTypeHeaderParser
public class MediaTypeHeaderParser
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaTypeHeaderParser
public MediaTypeHeaderParser()
fromString
public static MediaType fromString(String type)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
parse
public static MediaType parse(String type)
toString
public static String toString(MediaType type)
Copyright © 2014. All rights reserved.