static String requestPayloadIfStringOrFormIfNotReturnEmptyString(HttpRequest request) { return requestPayloadIfStringOrFormIfNotReturnEmptyString(request, false); }
static String requestPayloadIfStringOrFormIfNotReturnEmptyString(HttpRequest request) { return requestPayloadIfStringOrFormIfNotReturnEmptyString(request, false); }
static String requestPayloadIfStringOrFormIfNotReturnEmptyString(HttpRequest request) { return requestPayloadIfStringOrFormIfNotReturnEmptyString(request, false); }
public HttpResponseException(HttpCommand command, HttpResponse response) { this(String.format("request: %s %sfailed with response: %s", command.getCurrentRequest().getRequestLine(), requestPayloadIfStringOrFormIfNotReturnEmptyString(command.getCurrentRequest()), response.getStatusLine()), command, response); }
public HttpResponseException(HttpCommand command, HttpResponse response) { this(String.format("request: %s %sfailed with response: %s", command.getCurrentRequest().getRequestLine(), requestPayloadIfStringOrFormIfNotReturnEmptyString(command.getCurrentRequest()), response.getStatusLine()), command, response); }
public HttpResponseException(HttpCommand command, HttpResponse response) { this(String.format("request: %s %sfailed with response: %s", command.getCurrentRequest().getRequestLine(), requestPayloadIfStringOrFormIfNotReturnEmptyString(command.getCurrentRequest()), response.getStatusLine()), command, response); }
public HttpResponseException(HttpCommand command, HttpResponse response, boolean logSensitiveInformation) { this(String.format("request: %s %sfailed with response: %s", command.getCurrentRequest().getRequestLine(), requestPayloadIfStringOrFormIfNotReturnEmptyString(command.getCurrentRequest(), logSensitiveInformation), response.getStatusLine()), command, response); }
public HttpResponseException(HttpCommand command, HttpResponse response, boolean logSensitiveInformation) { this(String.format("request: %s %sfailed with response: %s", command.getCurrentRequest().getRequestLine(), requestPayloadIfStringOrFormIfNotReturnEmptyString(command.getCurrentRequest(), logSensitiveInformation), response.getStatusLine()), command, response); }
public HttpResponseException(HttpCommand command, HttpResponse response, boolean logSensitiveInformation) { this(String.format("request: %s %sfailed with response: %s", command.getCurrentRequest().getRequestLine(), requestPayloadIfStringOrFormIfNotReturnEmptyString(command.getCurrentRequest(), logSensitiveInformation), response.getStatusLine()), command, response); }