001package co.codewizards.cloudstore.ls.core.invoke; 002 003import static java.util.Objects.*; 004 005import co.codewizards.cloudstore.ls.core.dto.AbstractInverseServiceResponse; 006 007public class InverseMethodInvocationResponse extends AbstractInverseServiceResponse { 008 private static final long serialVersionUID = 1L; 009 010 private final MethodInvocationResponse methodInvocationResponse; 011 012 public InverseMethodInvocationResponse(final InverseMethodInvocationRequest request, final MethodInvocationResponse methodInvocationResponse) { 013 super(request); 014 this.methodInvocationResponse = requireNonNull(methodInvocationResponse, "methodInvocationResponse"); 015 } 016 017 public MethodInvocationResponse getMethodInvocationResponse() { 018 return methodInvocationResponse; 019 } 020}