INNER CODE UNIT · Java

getChunkSize

Erudika/para · para-client/src/main/java/com/erudika/para/client/ParaClient.java:404

	public int getChunkSize() {
		return chunkSize;
	}

	/**
	 * Enable/disable exception throwing in ParaClient.
	 * @param enabled if true, the client will throw an exception when an error response is received.
	 * If false, the error is only logged. Default is false.
	 */
	public void throwExceptionOnHTTPError(boolean enabled) {
		this.throwExceptionOnHTTPError = enabled;
	}

	private String key(boolean refresh) {
		if (tokenKey != null) {
			if (refresh) {
				refreshToken();
			}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…