Class RedirectResponse
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.RedirectResponse
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class RedirectResponse extends Object implements Serializablelogin required response, but can also be used for other response that require redirection. Does not include a HTTP header to force redirection, but a url that the client can use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedirectResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedirectResponsecode(Integer code)booleanequals(Object o)IntegergetCode()Get codeStringgetUrl()redirect urlinthashCode()voidsetCode(Integer code)voidsetUrl(String url)StringtoString()RedirectResponseurl(String url)
-
-
-
Method Detail
-
code
public RedirectResponse code(Integer code)
-
getCode
public Integer getCode()
Get code- Returns:
- code
-
setCode
public void setCode(Integer code)
-
url
public RedirectResponse url(String url)
-
getUrl
public String getUrl()
redirect url- Returns:
- url
-
setUrl
public void setUrl(String url)
-
-