Class SearchRedirectResponse
java.lang.Object
com.broadleafcommerce.search.api.domain.SearchRedirectResponse
- All Implemented Interfaces:
Serializable
A response object indicating that the client should be redirected based on the original search
query.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe HTTP status type of redirect which should be performedThe URI to which the client should be redirected.inthashCode()voidsetRedirectType(String redirectType) The HTTP status type of redirect which should be performedvoidsetRedirectUri(String redirectUri) The URI to which the client should be redirected.toString()
-
Constructor Details
-
SearchRedirectResponse
public SearchRedirectResponse()
-
-
Method Details
-
getRedirectUri
The URI to which the client should be redirected.- Returns:
- URI to redirect to
-
getRedirectType
The HTTP status type of redirect which should be performed- Returns:
- HTTP status type of redirect to perform
-
setRedirectUri
The URI to which the client should be redirected.- Parameters:
redirectUri- URI to redirect to
-
setRedirectType
The HTTP status type of redirect which should be performed- Parameters:
redirectType- HTTP status type of redirect to perform
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-