@Override public void setStatus(int status, String message) { this.status = status; if (!isError()) { super.setStatus(status, message); } }
@Override public void setStatus(int i) { if (i != 200) { wrapped = false; } super.setStatus(i); }
@Override public void setStatus(int status) { this.status = status; if (!isError()) { super.setStatus(status); } }
public void setStatus(int statusCode) { detectErrorResponse(statusCode); super.setStatus(statusCode); }
public void setStatus(int code, String msg) { statusCode = code; super.setStatus(code); }
public void setStatus(int code) { statusCode = code; super.setStatus(code); }
/** @deprecated */ public void setStatus(int sc, String sm) { super.setStatus(sc, sm); }
/** Check for not modified so that users of this class can use it. */ public void setStatus(int sc) { super.setStatus(sc); this.status = sc; }
@Override public void setStatus(int sc) { super.setStatus(sc); statusCode = sc; }
@Override public void setStatus(int sc) { httpStatus = sc; super.setStatus(sc); }
@SuppressWarnings("deprecation") // This is due to Tomcat 7 (not applicable to AppEngine) @Override public void setStatus(final int sc, final String sm) { status = sc; super.setStatus(sc, sm); }
@Override public void setStatus(final int sc) { status = sc; super.setStatus(sc); }
@SuppressWarnings("deprecation") public void setStatus(int statusCode, String statusMessage) { super.setStatus(statusCode, statusMessage); this.status = statusCode; }
public void setStatus(int statusCode) { super.setStatus(statusCode); this.status = statusCode; }
/** Sets the status code for this response. */ public void setStatus(final int code, final String msg) { statusCode = code; LOG.warn("Discarding message because this method is deprecated."); super.setStatus(code); }
public void setStatus(int statusCode, String message) { detectErrorResponse(statusCode); super.setStatus(statusCode, message); }
@Override public void setStatus(final int status) { super.setStatus(status); this.status = status; }
@Override public void setStatus(int sc, String sm) { super.setStatus(sc, sm); statusCode = sc; message = sm; }