org.jboss.resteasy.spi.StringParameterUnmarshaller Maven / Gradle / Ivy
package org.jboss.resteasy.spi;
import java.lang.annotation.Annotation;
/**
* Similar to StringConverter except specific to a parameter injection only. It is annotation sensitive.
*
* Instances of this class are created per parameter injection.
* setAnnotations() is called when the object is instantiated
*
* @author Bill Burke
* @version $Revision: 1 $
* @see org.jboss.resteasy.annotations.StringParameterUnmarshallerBinder
*/
public interface StringParameterUnmarshaller
{
void setAnnotations(Annotation[] annotations);
T fromString(String str);
}