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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchRedirectResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetRedirectType()The HTTP status type of redirect which should be performedStringgetRedirectUri()The 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.StringtoString()
-
-
-
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)
-
-