private static boolean isFormAvailable(Request request, TypedData body) { HttpMethod method = request.getMethod(); return body != null && body.getContentType().isForm() && (method.isPost() || method.isPut()); }
private static boolean isFormAvailable(Request request, TypedData body) { HttpMethod method = request.getMethod(); return body != null && body.getContentType().isForm() && (method.isPost() || method.isPut()); }