@ConsumerType
public interface MockRequestDispatcherFactory
RequestDispatcher when calling the getRequestDispatcher methods
on MockSlingHttpServletRequest instances.| Modifier and Type | Method and Description |
|---|---|
javax.servlet.RequestDispatcher |
getRequestDispatcher(org.apache.sling.api.resource.Resource resource,
org.apache.sling.api.request.RequestDispatcherOptions options)
Get request dispatcher for given resource.
|
javax.servlet.RequestDispatcher |
getRequestDispatcher(String path,
org.apache.sling.api.request.RequestDispatcherOptions options)
Get request dispatcher for given path.
|
javax.servlet.RequestDispatcher getRequestDispatcher(String path, org.apache.sling.api.request.RequestDispatcherOptions options)
path - Pathoptions - Options. Null if no options are provided.javax.servlet.RequestDispatcher getRequestDispatcher(org.apache.sling.api.resource.Resource resource,
org.apache.sling.api.request.RequestDispatcherOptions options)
resource - Resourceoptions - Options. Null if no options are provided.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.