UrlRewriteActionParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. UrlRewriteActionParameters
- com.
public class UrlRewriteActionParameters
Defines the parameters for the url rewrite action.
Constructor Summary
Constructor | Description |
---|---|
UrlRewriteActionParameters() |
Creates an instance of Url |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
destination()
Get define the relative URL to which the above requests will be rewritten by. |
java.lang.String |
odatatype()
Get the odatatype value. |
java.lang.Boolean |
preserveUnmatchedPath()
Get whether to preserve unmatched path. |
java.lang.String |
sourcePattern()
Get define a request URI pattern that identifies the type of requests that may be rewritten. |
Url |
withDestination(String destination)
Set define the relative URL to which the above requests will be rewritten by. |
Url |
withOdatatype(String odatatype)
Set the odatatype value. |
Url |
withPreserveUnmatchedPath(Boolean preserveUnmatchedPath)
Set whether to preserve unmatched path. |
Url |
withSourcePattern(String sourcePattern)
Set define a request URI pattern that identifies the type of requests that may be rewritten. |
Methods inherited from java.lang.Object
Constructor Details
UrlRewriteActionParameters
public UrlRewriteActionParameters()
Creates an instance of UrlRewriteActionParameters class.
Method Details
destination
public String destination()
Get define the relative URL to which the above requests will be rewritten by.
Returns:
odatatype
public String odatatype()
Get the odatatype value.
Returns:
preserveUnmatchedPath
public Boolean preserveUnmatchedPath()
Get whether to preserve unmatched path. Default value is true.
Returns:
sourcePattern
public String sourcePattern()
Get define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
Returns:
withDestination
public UrlRewriteActionParameters withDestination(String destination)
Set define the relative URL to which the above requests will be rewritten by.
Parameters:
Returns:
withOdatatype
public UrlRewriteActionParameters withOdatatype(String odatatype)
Set the odatatype value.
Parameters:
Returns:
withPreserveUnmatchedPath
public UrlRewriteActionParameters withPreserveUnmatchedPath(Boolean preserveUnmatchedPath)
Set whether to preserve unmatched path. Default value is true.
Parameters:
Returns:
withSourcePattern
public UrlRewriteActionParameters withSourcePattern(String sourcePattern)
Set define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin