@Override public void setStatus(final int sc) { super.setStatus(sc); handleStatus(sc); }
private void handleStatus(final int code) { addHeader(RestConstants.HEADER_FIELD, traceId + "," + sessionId + "," + CF_REGISTRY.recallThreadLocalEOI() + "," + Integer.toString(CF_REGISTRY.recallThreadLocalESS())); } };
@Override @SuppressWarnings("deprecation") public void setStatus(final int sc, final String sm) { super.setStatus(sc, sm); handleStatus(sc); }
private void handleStatus(final int code) { this.addHeader(RestConstants.HEADER_FIELD, traceId + "," + sessionId + "," + CF_REGISTRY.recallThreadLocalEOI() + "," + Integer.toString(CF_REGISTRY.recallThreadLocalESS())); } };
@Override public void sendError(final int sc, final String msg) throws IOException { super.sendError(sc, msg); handleStatus(sc); }
@Override public void sendError(final int sc) throws IOException { super.sendError(sc); handleStatus(sc); }
@Override public void setStatus(final int sc) { super.setStatus(sc); this.handleStatus(sc); }
@Override @SuppressWarnings("deprecation") public void setStatus(final int sc, final String sm) { super.setStatus(sc, sm); this.handleStatus(sc); }
@Override public void sendError(final int sc, final String msg) throws IOException { super.sendError(sc, msg); this.handleStatus(sc); }
@Override public void sendError(final int sc) throws IOException { super.sendError(sc); this.handleStatus(sc); }