Get sensitive word status
@return status of sensitive word
@throws APIConnectionException connect exception
@throws APIRequestException request exception
343419
public SensitiveWordStatusResult getSensitiveWordStatus() throws APIConnectionException, APIRequestException {
        ResponseWrapper responseWrapper = _httpClient.sendGet(_baseUrl + sensitiveWordPath + "/status");
        return _gson.fromJson(responseWrapper.responseContent, SensitiveWordStatusResult.class);
    }
634193
public STATUS getStatus() {
		if (featureContent.isLoaded()) {
			return STATUS.LOADED;
		}
		if (deferred == null) {
			return STATUS.EMPTY;
		}
		return STATUS.LOADING;
	}
507234
@RequiresPermission(Manifest.permission.INTERNET)
  public static Single<Boolean> checkInternetConnectivity() {
    InternetObservingSettings settings = InternetObservingSettings.create();
    return checkInternetConnectivity(settings.strategy(), settings.host(), settings.port(),
        settings.timeout(), settings.httpResponse(), settings.errorHandler());
  }
400575
public com.google.api.ads.adwords.axis.v201809.cm.SharedSetStatus getStatus() {
        return status;
    }
1215496
public ResponseWrapper updateSensitiveWord(String newWord, String oldWord)
            throws APIConnectionException, APIRequestException {
        return _sensitiveWordClient.updateSensitiveWord(newWord, oldWord);
    }
306192
public HttpStatus getStatusCode() {
        final Object statusCode = getHeader(HttpMessageHeaders.HTTP_STATUS_CODE);

        if (statusCode != null) {
            if (statusCode instanceof HttpStatus) {
                return (HttpStatus) statusCode;
            } else if (statusCode instanceof Integer) {
                return HttpStatus.valueOf((Integer) statusCode);
            } else {
                return HttpStatus.valueOf(Integer.valueOf(statusCode.toString()));
            }
        }

        return null;
    }
379480
private function getStatus()
    {
        if (!($statusArray = preg_grep('/^HTTP\/(1.0|1.1)\s+(\d+)\s+(.+)/', $this->headers))) {
            throw new \RuntimeException('Could not determine HTTP status from API response');
        }

        if (!preg_match('/^HTTP\/(1.0|1.1)\s+(\d+)\s+(.+)/', $statusArray[0], $matchesArray)) {
            throw new \RuntimeException('Could not determine HTTP status from API response');
        }

        return array(
            'code' => $matchesArray[2],
            'message' => $matchesArray[3],
        );
    }
1277745
public SensitiveWordListResult getSensitiveWordList(int start, int count)
            throws APIConnectionException, APIRequestException {
        return _sensitiveWordClient.getSensitiveWordList(start, count);
    }
639150
private HttpURLConnection getConnectionOnce(String uri, String postJson, String token) throws IOException {

		URL url = new URL(uri);
		HttpURLConnection conn = (HttpURLConnection) url.openConnection();

		if (timeout > 0) {
			conn.setReadTimeout(timeout);
			conn.setConnectTimeout(timeout);
		}

		if (postJson != null && postJson.equals("{}"))
			postJson = null;

		if (postJson != null) {
			conn.setDoOutput(true); // Triggers POST.
		}
		conn.setRequestProperty("Content-Type", "application/json; charset=" + UTF8.name());
		conn.setRequestProperty("User-Agent", "WePay Java SDK");

		if (token != null) {
			conn.setRequestProperty("Authorization", "Bearer " + token);
		}

		if (postJson != null) {
			OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream(), UTF8);
			writer.write(postJson);
			writer.close();
		}

		return conn;
	}
663450
public function getStatusText()
    {
        switch ($this->getStatus()) {
            case self::Status_Success:
                return $this->t('message_response_success');
            case self::Status_Notices:
                return $this->t('message_response_notices');
            case self::Status_Warnings:
                return $this->t('message_response_warnings');
            case self::Status_Errors:
                return $this->t('message_response_errors');
            case self::Status_Exception:
                return $this->t('message_response_exception');
            case null:
                return $this->t('message_response_not_set');
            default:
                return sprintf($this->t('message_response_unknown'), $this->getStatus());
        }
    }
923421
public String getCurrentAttempt()
	{
		if (currentIndex < words.size())
		{
			final String currentAttempt = words.get(currentIndex);
			return currentAttempt;
		}
		return null;
	}
708374
public function getStatus()
    {
        if ($this->config->has('fake_status')) {
            return new Status($this, $this->config->get('fake_status'));
        }

        if (!$this->config->has('status_test')) {
            return Status::unknown($this, [ 'message' => 'No status_test path specified' ]);
        }

        $path = $this->config->get('status_test');
        try {
            $info = [];
            $verbose = $this->config->get('status_verbose', true);

            $response = $this->getConnection()->get($path, [
                'on_stats' => function (TransferStats $stats) use (&$info, $verbose) {
                    if (!$verbose) {
                        return;
                    }
                    $info['effective_uri'] = (string)$stats->getEffectiveUri();
                    $info['transfer_time'] = $stats->getTransferTime();
                    $info = array_merge($info, $stats->getHandlerStats());
                    if ($stats->hasResponse()) {
                        $info['status_code'] = $stats->getResponse()->getStatusCode();
                    } else {
                        $error_data = $stats->getHandlerErrorData();
                        if (is_array($error_data) || is_string($error_data)) {
                            $info['handler_error_data'] = $error_data;
                        }
                    }
                }
            ]);

            $status_code = $response->getStatusCode();
            if ($status_code >= 200 && $status_code < 300) {
                $msg['message'] = 'GET succeeded: ' . $path;
                if (!empty($info)) {
                    $msg['info'] = $info;
                }
                return Status::working($this, $msg);
            }

            return Status::failing(
                $this,
                [
                    'message' => 'GET failed: ' . $path,
                    'headers' => $response->getHeaders(),
                    'info' => $info
                ]
            );
        } catch (Exception $e) {
            error_log(
                '[' . static::CLASS . '] Error on "' . $path . '": ' . $e->getMessage() . "\n" . $e->getTraceAsString()
            );
            return Status::failing($this, [ 'message' => 'Error on "' . $path . '": ' . $e->getMessage() ]);
        }
    }
236851
public boolean getWhoCardRequestEnabled() {
		InteractionConfiguration configuration = getConfiguration();
		if (configuration == null) {
			return false;
		}
		JSONObject profile = configuration.optJSONObject(KEY_PROFILE);
		return profile.optBoolean(KEY_PROFILE_REQUEST, true);
	}
935290
public ApiResponse<GetEnabledResponse> getEnabledWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = getEnabledValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<GetEnabledResponse>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
244798
private int getStatusCode(final byte[] response, final int request) throws UnknownResponseException {
		if (response == null || response.length < 3 || response[0] != OP_CODE_RESPONSE_CODE_KEY || response[1] != request ||
				(response[2] != DFU_STATUS_SUCCESS &&
						response[2] != SecureDfuError.OP_CODE_NOT_SUPPORTED &&
						response[2] != SecureDfuError.INVALID_PARAM &&
						response[2] != SecureDfuError.INSUFFICIENT_RESOURCES &&
						response[2] != SecureDfuError.INVALID_OBJECT &&
						response[2] != SecureDfuError.UNSUPPORTED_TYPE &&
						response[2] != SecureDfuError.OPERATION_NOT_PERMITTED &&
						response[2] != SecureDfuError.OPERATION_FAILED &&
						response[2] != SecureDfuError.EXTENDED_ERROR))
			throw new UnknownResponseException("Invalid response received", response, OP_CODE_RESPONSE_CODE_KEY, request);
		return response[2];
	}
432645
public int getHTTPStatus() throws InterruptedException, BOSHException {
        if (toThrow != null) {
            throw(toThrow);
        }
        lock.lock();
        try {
            if (!sent) {
                awaitResponse();
            }
        } finally {
            lock.unlock();
        }
        return statusCode;
    }
848500
public ApiResponse<Object> retrievePCTokenUsingPOSTWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = retrievePCTokenUsingPOSTValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<Object>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }