add generic HttpResponse
This commit is contained in:
parent
5acca4d10d
commit
37d24c59e7
@ -0,0 +1,12 @@
|
||||
package ovh.herisson.Clyde.Responses;
|
||||
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
|
||||
public class UnauthorizedResponse extends ResponseEntity<String> {
|
||||
public UnauthorizedResponse(String message) {
|
||||
super(message,HttpStatus.UNAUTHORIZED);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user