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 Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    toString(T value)
    Deprecated.
     
  • Method Details

    • fromString

      T fromString(String str)
      Deprecated.
    • toString

      String toString(T value)
      Deprecated.