public class InvocationContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
context |
protected javax.ws.rs.core.Response.StatusType |
httpStatus |
protected Map<String,Object> |
localContext |
protected org.slf4j.Marker |
marker |
| Constructor and Description |
|---|
InvocationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(InvocationContext otherContext) |
void |
addContext(Map<String,String> otherContext) |
void |
addContext(String key,
String value) |
void |
addLocalContext(Map<String,Object> otherContext) |
void |
addLocalContext(String key,
Object value) |
Map<String,String> |
getContext() |
String |
getContext(String key) |
Map<String,Object> |
getLocalContext() |
<T> T |
getLocalContext(String key) |
org.slf4j.Marker |
getMarker() |
javax.ws.rs.core.Response.StatusType |
getStatus() |
void |
mergeContext(InvocationContext otherContext) |
void |
mergeContext(Map<String,String> otherContext) |
void |
setContext(Map<String,String> context) |
void |
setLocalContext(Map<String,Object> localContext) |
void |
setStatus(int statusCode) |
void |
setStatus(int statusCode,
String reason) |
void |
setStatus(javax.ws.rs.core.Response.StatusType status) |
protected javax.ws.rs.core.Response.StatusType httpStatus
protected org.slf4j.Marker marker
public void addContext(InvocationContext otherContext)
public void mergeContext(InvocationContext otherContext)
public <T> T getLocalContext(String key)
public javax.ws.rs.core.Response.StatusType getStatus()
public void setStatus(javax.ws.rs.core.Response.StatusType status)
public void setStatus(int statusCode,
String reason)
public void setStatus(int statusCode)
public org.slf4j.Marker getMarker()
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.