processor = new HeaderParamProcessor(header.value());
}
else if ((cookie = FindAnnotation.findAnnotation(annotations,
CookieParam.class)) != null)
{
processor = new CookieParamProcessor(cookie.value());
}
else if ((uriParam = FindAnnotation.findAnnotation(annotations,
PathParam.class)) != null)
{
processor = new PathParamProcessor(uriParam.value());
}
else if ((matrix = FindAnnotation.findAnnotation(annotations,
MatrixParam.class)) != null)
{
processor = new MatrixParamProcessor(matrix.value());
}
else if ((formParam = FindAnnotation.findAnnotation(annotations,
FormParam.class)) != null)
{
processor = new FormParamProcessor(formParam.value());
}
else if ((/* form = */FindAnnotation.findAnnotation(annotations,
Form.class)) != null)
{
processor = new FormProcessor(type, configuration);
}
else if ((/* form = */FindAnnotation.findAnnotation(annotations,
BeanParam.class)) != null)
{
processor = new FormProcessor(type, configuration);
}
else if ((FindAnnotation.findAnnotation(annotations,
Context.class)) != null)
{
processor = null;
}
else if (type.equals(Cookie.class))
{
processor = new CookieParamProcessor(null);
}
// this is for HATEAOS clients
else if (FindAnnotation.findAnnotation(annotations, ClientURI.class) != null)
{
processor = new URIParamProcessor();