Class MediaTypeHeaderDelegate

java.lang.Object
org.jboss.resteasy.plugins.delegates.MediaTypeHeaderDelegate
All Implemented Interfaces:
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate

public class MediaTypeHeaderDelegate extends Object implements javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate
Version:
$Revision: 1 $
  • Field Details

    • quotedChars

      private static final char[] quotedChars
  • Constructor Details

    • MediaTypeHeaderDelegate

      public MediaTypeHeaderDelegate()
  • Method Details

    • fromString

      public Object fromString(String type) throws IllegalArgumentException
      Specified by:
      fromString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate
      Throws:
      IllegalArgumentException
    • isValid

      protected static boolean isValid(String str)
    • parse

      public static javax.ws.rs.core.MediaType parse(String type)
    • quoted

      public static boolean quoted(String str)
    • toString

      public String toString(Object o)
      Specified by:
      toString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate