public class WebsiteConfiguration extends Object implements Serializable
Constructor and Description |
---|
WebsiteConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorDocument() |
String |
getIndexDocumentSuffix() |
String |
getRedirectAllRequestsTo() |
List<RoutingRule> |
getRoutingRule() |
void |
setErrorDocument(String errorDocument) |
void |
setIndexDocumentSuffix(String indexDocumentSuffix) |
void |
setRedirectAllRequestsTo(String redirectAllRequestsTo) |
void |
setRoutingRules(List<RoutingRule> routingRules) |
WebsiteConfiguration |
witherrorDocument(String errorDocument) |
WebsiteConfiguration |
withIndexDocumentSuffix(String indexDocumentSuffix) |
WebsiteConfiguration |
withRedirectAllRequestsTo(String redirectAllRequestsTo) |
WebsiteConfiguration |
withRoutingRule(List<RoutingRule> routingRules) |
public void setIndexDocumentSuffix(String indexDocumentSuffix)
public String getIndexDocumentSuffix()
public WebsiteConfiguration withIndexDocumentSuffix(String indexDocumentSuffix)
public void setErrorDocument(String errorDocument)
public String getErrorDocument()
public WebsiteConfiguration witherrorDocument(String errorDocument)
public void setRedirectAllRequestsTo(String redirectAllRequestsTo)
public String getRedirectAllRequestsTo()
public WebsiteConfiguration withRedirectAllRequestsTo(String redirectAllRequestsTo)
public void setRoutingRules(List<RoutingRule> routingRules)
public List<RoutingRule> getRoutingRule()
public WebsiteConfiguration withRoutingRule(List<RoutingRule> routingRules)
Copyright © 2022. All rights reserved.