Class ErrorPageByStatusCode

java.lang.Object
de.xima.fc.common.error_page.ErrorPageByStatusCode
All Implemented Interfaces:
Serializable

public final class ErrorPageByStatusCode extends Object implements Serializable
Model for the error page mapping, i.e. status code 404 to the URL https://example.com/404.
Since:
8.3.6
See Also:
  • Constructor Details

    • ErrorPageByStatusCode

      public ErrorPageByStatusCode()
  • Method Details

    • getStatusCode

      public String getStatusCode()
      Gets the HTTP status code to which the error page applies. Use 4xx or 40x to refer to a range of status codes.
      Returns:
      The HTTP status code.
    • setStatusCode

      public void setStatusCode(String statusCode)
      Sets the HTTP status code to which the error page applies. Use 4xx or 40x to refer to a range of status codes.
      Parameters:
      statusCode - The HTTP status code.
    • getUrl

      public String getUrl()
      Gets the URL of the error page.
      Returns:
      The URL of the error page.
    • setUrl

      public void setUrl(String url)
      Sets the URL of the error page.
      Parameters:
      url - The URL of the error page.