public class SecurityResponse extends Object
Constructor and Description |
---|
SecurityResponse(org.springframework.http.HttpStatus status) |
SecurityResponse(org.springframework.http.HttpStatus status,
String message) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
org.springframework.http.HttpStatus |
getStatus() |
static SecurityResponse |
success() |
public SecurityResponse(org.springframework.http.HttpStatus status)
public SecurityResponse(org.springframework.http.HttpStatus status, String message)
public org.springframework.http.HttpStatus getStatus()
public String getMessage()
public static SecurityResponse success()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.