public abstract class SecurityResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityResponse.SecurityStatus
Status of a security operation.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
description()
Description of current security status.
|
Map<String,List<String>> |
requestHeaders()
Get new request headers to be used.
|
Map<String,List<String>> |
responseHeaders()
Get new response headers to be used.
|
SecurityResponse.SecurityStatus |
status()
Status of this response.
|
OptionalInt |
statusCode()
Status code (uses HTTP status codes for mapping).
|
Optional<Throwable> |
throwable()
Get underlying throwable causing a failure state (if such happened).
|
String |
toString() |
public SecurityResponse.SecurityStatus status()
public OptionalInt statusCode()
public Optional<String> description()
public Optional<Throwable> throwable()
public Map<String,List<String>> requestHeaders()
public Map<String,List<String>> responseHeaders()
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.