@Component @Provider public class ExecutionParametersReader extends BasicMessageBodyReader<ExecutionParameters>
| Constructor and Description |
|---|
ExecutionParametersReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(java.lang.Class<?> aClass,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
ExecutionParameters |
readJson(java.lang.String json) |
readFrompublic boolean isReadable(java.lang.Class<?> aClass,
java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<ExecutionParameters>isReadable in class BasicMessageBodyReader<ExecutionParameters>public ExecutionParameters readJson(java.lang.String json) throws org.codehaus.jettison.json.JSONException
readJson in class BasicMessageBodyReader<ExecutionParameters>org.codehaus.jettison.json.JSONException