Interface StringConverter<T>


  • @Deprecated
    public interface StringConverter<T>
    Deprecated.
    Replaced by javax.ws.rs.ext.ParamConverter
    Implement this interface and annotate your class with @Provider to provide marshalling and unmarshalling of string-based, @HeaderParam, @MatrixParam, @QueryParam, and/or @PathParam injected values.

    Use this when toString(), valueOf, and/or constructor(String) can not satisfy your marshalling requirements.

    Version:
    $Revision: 1 $
    See Also:
    ParamConverter
    • Method Detail

      • fromString

        T fromString​(java.lang.String str)
        Deprecated.
      • toString

        java.lang.String toString​(T value)
        Deprecated.