org.cruxframework.crux.core.server.rest.util.header
Class MediaTypeHeaderParser

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.util.header.MediaTypeHeaderParser

public class MediaTypeHeaderParser
extends Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
MediaTypeHeaderParser()
           
 
Method Summary
static MediaType fromString(String type)
           
static MediaType parse(String type)
           
static String toString(MediaType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaTypeHeaderParser

public MediaTypeHeaderParser()
Method Detail

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 © 2015. All rights reserved.