}
}
}
else
{
ResourceURL resourceURL = (ResourceURL)containerURL;
//
StateString resourceState = resourceURL.getResourceState();
parameters.put(ControllerRequestParameterNames.RESOURCE_STATE, resourceState.getStringValue());
//
String resourceId = resourceURL.getResourceId();
if (resourceId != null)
{
parameters.put(ControllerRequestParameterNames.RESOURCE_ID, resourceId);
}
//
CacheLevel cacheability = resourceURL.getCacheability();
parameters.put(ControllerRequestParameterNames.RESOURCE_CACHEABILITY, cacheability.name());
//
if (cacheability != CacheLevel.FULL)
{
if (resourceURL.getNavigationalState() != null)
{
parameters.put(ControllerRequestParameterNames.NAVIGATIONAL_STATE, resourceURL.getNavigationalState().getStringValue());
}
//
if (resourceURL.getMode() != null)
{
parameters.put(ControllerRequestParameterNames.MODE, resourceURL.getMode().toString());
}
//
if (resourceURL.getWindowState() != null)
{
parameters.put(ControllerRequestParameterNames.WINDOW_STATE, resourceURL.getWindowState().toString());
}
if (cacheability == CacheLevel.PAGE && pageNavigationalState != null)
{
parameters.put(ControllerRequestParameterNames.PAGE_NAVIGATIONAL_STATE, pageNavigationalState);