public class ResolvedError extends Object implements Serializable
Created by zhanghaolun on 16/7/1.
Modifier and Type | Field and Description |
---|---|
static String |
RESOLVED_ERROR_COOKIE |
static String |
RESOLVED_ERROR_OBJECT |
Modifier and Type | Method and Description |
---|---|
ResolvedError |
eraseTraces()
before set into cookie, call this method to avoid header size exceed limit.
|
static ResolvedError |
fromErrorAttributes(Map<String,Object> errorAttributes) |
org.springframework.http.HttpStatus |
getHttpStatus() |
static org.springframework.http.HttpHeaders |
newHttpHeaders() |
Map<String,Object> |
toErrorAttributes() |
ResolvedError |
trackPrepend(String track) |
public static final String RESOLVED_ERROR_COOKIE
public static final String RESOLVED_ERROR_OBJECT
public static org.springframework.http.HttpHeaders newHttpHeaders()
public static ResolvedError fromErrorAttributes(Map<String,Object> errorAttributes)
public org.springframework.http.HttpStatus getHttpStatus()
public ResolvedError eraseTraces()
public ResolvedError trackPrepend(String track)
Copyright © 2017. All rights reserved.