@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(java.lang.String path,
org.apache.sling.api.request.RequestDispatcherOptions options)
Get request dispatcher for given path.
|
javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.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 © 2014–2021 wcm.io. All rights reserved.