package org.jboss.resteasy.spi;
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.
Author: Bill Burke See Also: Version: $Revision: 1 $ 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.
* <p>
* Use this when toString(), valueOf, and/or constructor(String) can not satisfy your marshalling requirements.
*
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*
* @deprecated Replaced by javax.ws.rs.ext.ParamConverter
*
* @see <a href="https://jcp.org/en/jsr/detail?id=339">jaxrs-api</a>
* @see javax.ws.rs.ext.ParamConverter
*/
@Deprecated
public interface StringConverter<T>
{
T fromString(String str);
String toString(T value);
}