@ConsumerType
public class MockRequestPathInfo
extends java.lang.Object
implements org.apache.sling.api.request.RequestPathInfo
RequestPathInfo
implementation.Constructor and Description |
---|
MockRequestPathInfo()
Deprecated.
Use @link
MockRequestPathInfo(ResourceResolver) instead. |
MockRequestPathInfo(org.apache.sling.api.resource.ResourceResolver resourceResolver) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension() |
java.lang.String |
getResourcePath() |
java.lang.String[] |
getSelectors() |
java.lang.String |
getSelectorString() |
java.lang.String |
getSuffix() |
org.apache.sling.api.resource.Resource |
getSuffixResource() |
void |
setExtension(java.lang.String extension) |
void |
setResourcePath(java.lang.String resourcePath) |
void |
setSelectorString(java.lang.String selectorString) |
void |
setSuffix(java.lang.String suffix) |
@Deprecated public MockRequestPathInfo()
MockRequestPathInfo(ResourceResolver)
instead.public MockRequestPathInfo(org.apache.sling.api.resource.ResourceResolver resourceResolver)
public java.lang.String getExtension()
getExtension
in interface org.apache.sling.api.request.RequestPathInfo
public java.lang.String getResourcePath()
getResourcePath
in interface org.apache.sling.api.request.RequestPathInfo
public java.lang.String[] getSelectors()
getSelectors
in interface org.apache.sling.api.request.RequestPathInfo
public java.lang.String getSelectorString()
getSelectorString
in interface org.apache.sling.api.request.RequestPathInfo
public java.lang.String getSuffix()
getSuffix
in interface org.apache.sling.api.request.RequestPathInfo
public void setExtension(java.lang.String extension)
public void setResourcePath(java.lang.String resourcePath)
public void setSelectorString(java.lang.String selectorString)
public void setSuffix(java.lang.String suffix)
public org.apache.sling.api.resource.Resource getSuffixResource()
getSuffixResource
in interface org.apache.sling.api.request.RequestPathInfo
Copyright © 2014–2021 wcm.io. All rights reserved.