Class NewCookieHeaderDelegate

  • All Implemented Interfaces:
    javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.NewCookie>

    @Deprecated
    public class NewCookieHeaderDelegate
    extends java.lang.Object
    implements javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.NewCookie>
    Deprecated.
    Will be removed in next minor release.
    RuntimeDelegate.HeaderDelegate for NewCookie
    • Constructor Summary

      Constructors 
      Constructor Description
      NewCookieHeaderDelegate()
      Deprecated.
      Obtain an instance of a HeaderDelegate for the NewCookie class.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.NewCookie fromString​(java.lang.String string)
      Deprecated.
      Parse the supplied value and create an instance of T.
      java.lang.String toString​(javax.ws.rs.core.NewCookie newCookie)
      Deprecated.
      Convert the supplied value to a String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NewCookieHeaderDelegate

        NewCookieHeaderDelegate()
        Deprecated.
        Obtain an instance of a HeaderDelegate for the NewCookie class.
        See Also:
        RuntimeDelegate.createHeaderDelegate(Class)
    • Method Detail

      • fromString

        public javax.ws.rs.core.NewCookie fromString​(java.lang.String string)
                                              throws java.lang.IllegalArgumentException
        Deprecated.
        Parse the supplied value and create an instance of T.
        Specified by:
        fromString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.NewCookie>
        Parameters:
        value - the string value
        Returns:
        the newly created instance of T
        Throws:
        java.lang.IllegalArgumentException - if the supplied string cannot be parsed
        See Also:
        RuntimeDelegate.HeaderDelegate.fromString(java.lang.String)
      • toString

        public java.lang.String toString​(javax.ws.rs.core.NewCookie newCookie)
        Deprecated.
        Convert the supplied value to a String.
        Specified by:
        toString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.NewCookie>
        Parameters:
        value - the value of type T
        Returns:
        a String representation of the value
        Throws:
        java.lang.IllegalArgumentException - if the supplied object cannot be serialized
        See Also:
        RuntimeDelegate.HeaderDelegate.toString(java.lang.Object)