我有以下方法:
public Response process(Applicant appl)
{
String responseString;
String requestString;
requestString = createRequestString(appl);
responseString = sendRequest(requestString);
Response response = parseResponse(responseString);
return response;
}
我希望能够同时返回responseString和response两个值,一个是字符串类型的,另一个是Response类的对象。请问如何实现?