public static boolean isServerRequestEncrypted(HttpURLConnection request) {
        return Constants.TRUE.equals(request.getHeaderField(Constants.HeaderConstants.SERVER_REQUEST_ENCRYPTED));
    }
public static boolean isServerRequestEncrypted(HttpURLConnection request) {
        return Constants.TRUE.equals(request.getHeaderField(Constants.HeaderConstants.SERVER_REQUEST_ENCRYPTED));
    }
public static boolean isServerRequestEncrypted ( HttpURLConnection request ) { return Constants . TRUE . equals ( request . getHeaderField ( Constants . HeaderConstants . SERVER_REQUEST_ENCRYPTED ) ) ; }
Gets if the request was encrypted by the server.
@param request
The response from the server.
@return A boolean indicating if the request was encrypted by the server.
Gets if the request was encrypted by the server .