Class SearchRedirectResponse

java.lang.Object
com.broadleafcommerce.search.api.domain.SearchRedirectResponse
All Implemented Interfaces:
Serializable

public class SearchRedirectResponse extends Object implements Serializable
A response object indicating that the client should be redirected based on the original search query.
See Also:
  • Constructor Details

    • SearchRedirectResponse

      public SearchRedirectResponse()
  • Method Details

    • getRedirectUri

      public String getRedirectUri()
      The URI to which the client should be redirected.
      Returns:
      URI to redirect to
    • getRedirectType

      public String getRedirectType()
      The HTTP status type of redirect which should be performed
      Returns:
      HTTP status type of redirect to perform
    • setRedirectUri

      public void setRedirectUri(String redirectUri)
      The URI to which the client should be redirected.
      Parameters:
      redirectUri - URI to redirect to
    • setRedirectType

      public void setRedirectType(String redirectType)
      The HTTP status type of redirect which should be performed
      Parameters:
      redirectType - HTTP status type of redirect to perform
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object