public class WebsiteConfiguration extends HeaderResponse
Constructor and Description |
---|
WebsiteConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Obtain the error page of the hosting.
|
RedirectAllRequest |
getRedirectAllRequestsTo()
Obtain the redirection rules of all requests.
|
List<RouteRule> |
getRouteRules()
Set the redirection route rules.
|
String |
getSuffix()
Obtain the hosting homepage.
|
void |
setKey(String key)
Set the error page of the hosting.
|
void |
setRedirectAllRequestsTo(RedirectAllRequest redirectAllRequestsTo)
Set redirection rules of all requests.
|
void |
setRouteRules(List<RouteRule> routeRules)
Set the redirection route rule list.
|
void |
setSuffix(String suffix)
Set the hosting homepage.
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCode
public String getSuffix()
public void setSuffix(String suffix)
suffix
- Hosting homepagepublic String getKey()
public void setKey(String key)
key
- Error page of the hostingpublic List<RouteRule> getRouteRules()
public void setRouteRules(List<RouteRule> routeRules)
routeRules
- Redirection route rule listpublic RedirectAllRequest getRedirectAllRequestsTo()
public void setRedirectAllRequestsTo(RedirectAllRequest redirectAllRequestsTo)
redirectAllRequestsTo
- Redirection rules of all requestspublic String toString()
toString
in class HeaderResponse
Copyright © 2019. All rights reserved.