/** * @return String that represents the filter execution history for the current request */ public StringBuilder getFilterExecutionSummary() { return (StringBuilder) get(KEY_FILTER_EXECS); }
/** * sets routeHost * * @param routeHost a URL */ public void setRouteHost(URL routeHost) { set("routeHost", routeHost); }
public String getUUID() { return getString(KEY_UUID); } public void setUUID(String uuid)
/** * Sets throwable to use for generating a response in the Error endpoint. * * @param th */ public void setError(Throwable th) { put("_error", th); }
/** * removes "routeHost" key */ public void removeRouteHost() { remove("routeHost"); }
/** * Convenience method to return a boolean value for a given key * * @param key * @return true or false depending what was set. default is false */ public boolean getBoolean(String key) { return getBoolean(key, false); }
public void setEndpoint(String endpoint) { put(KEY_ENDPOINT, endpoint); } public String getEndpoint()
public int getOriginReportedDuration() { Object value = get("_originReportedDuration"); if (value != null) { return (Integer) value; } return -1; }
/** * sets routeVIP; that is the Eureka "vip" of registered instances * * @return */ public void setRouteVIP(String sVip) { set(KEY_VIP, sVip); }
public String getUUID() { return getString(KEY_UUID); } public void setUUID(String uuid)
/** * removes "routeHost" key */ public void removeRouteHost() { remove("routeHost"); }
/** * sets a key value to Boolean.TRUE * * @param key */ public void set(String key) { put(key, Boolean.TRUE); }
/** * returns the routeVIP; that is the Eureka "vip" of registered instances * * @return */ public String getRouteVIP() { return (String) get(KEY_VIP); }
/** * sets routeVIP; that is the Eureka "vip" of registered instances * * @return */ public void setRouteVIP(String sVip) { set(KEY_VIP, sVip); }
public void setOriginReportedDuration(int duration) { put("_originReportedDuration", duration); } public int getOriginReportedDuration()
/** * @return "routeHost" URL */ public URL getRouteHost() { return (URL) get("routeHost"); }
static RequestStat putInSessionContext(RequestStat stat, SessionContext context) { context.put(SESSION_CONTEXT_KEY, stat); return stat; }
/** * Sets throwable to use for generating a response in the Error endpoint. * * @param th */ public void setError(Throwable th) { put("_error", th); }