|
|
@ -15,6 +15,9 @@ public class ShopifyRequestInfoInterceptor extends HandlerInterceptorAdapter {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
|
|
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
|
|
|
|
|
|
|
if (!(handler instanceof HandlerMethod)){
|
|
|
|
|
|
|
|
return super.preHandle(request, response, handler);
|
|
|
|
|
|
|
|
}
|
|
|
|
Method method = ((HandlerMethod) handler).getMethod();
|
|
|
|
Method method = ((HandlerMethod) handler).getMethod();
|
|
|
|
|
|
|
|
|
|
|
|
if(HttpMethod.GET.matches(request.getMethod())) {
|
|
|
|
if(HttpMethod.GET.matches(request.getMethod())) {
|
|
|
|