org.jboss.resteasy.spi
Interface StringConverter<T>


public interface StringConverter<T>

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 $
Author:
Bill Burke

Method Summary
 T fromString(String str)
           
 String toString(T value)
           
 

Method Detail

fromString

T fromString(String str)

toString

String toString(T value)


Copyright © 2012. All Rights Reserved.