246247248249250251252
public TooLargeResponse(String finalUri) { this.finalUri = finalUri; } public String getBody() { throw new ResponseTooLargeException(finalUri); }
254255256257258259260
public String getFinalUri() { return finalUri; } public Header getResponseHeader(String headerName) { throw new ResponseTooLargeException(finalUri); }
258259260261262263264
public Header getResponseHeader(String headerName) { throw new ResponseTooLargeException(finalUri); } public Header[] getResponseHeaders(String headerName) { throw new ResponseTooLargeException(finalUri); }
266267268269270271272
public boolean isBodySizeExceeded() { return true; } public int getStatusCode() { throw new ResponseTooLargeException(finalUri); }
241242243244245246247
249250251252253254255
253254255256257258259
261262263264265266267