throw new UnsupportedOperationException("Not implemented yet!");
}
public void validate(HttpServletRequest request, HttpServletResponse response) throws ValidationException {
if (!RequestContext.getContext().getHttpRequest().getMethod().equals("POST")) {
throw new ValidationException("Upload support http POST only!");
}
}