Class 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:
    Serialized Form
    • Constructor Detail

      • SearchRedirectResponse

        public SearchRedirectResponse()
    • Method Detail

      • 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
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object