{
resourceParams.setResourceState(state);
}
}
MultiPartResult multiPartResult = MultiPartUtil.getMultiPartContent(invocation.getRequestContext());
if (multiPartResult != null)
{
resourceParams.getFormParameters().addAll(multiPartResult.getFormParameters());
resourceParams.getUploadContexts().addAll(multiPartResult.getUploadContexts());
}
return WSRPTypeFactory.createGetResource(requestPrecursor.getRegistrationContext(), portletContext,
requestPrecursor.getRuntimeContext(), requestPrecursor.getUserContext(), resourceParams);
}