AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# PortletContextFactory.CreatePortletContext Method

Factory method that returns a new `IPortletContext` for the current page.

public static IPortletContext CreatePortletContext(
HttpRequest req,
HttpResponse resp
);

#### Parameters

req
  The current HTTP request.
resp
  The current HTTP response.

#### See Also

PortletContextFactory Class | Plumtree.Remote.Portlet Namespace